Message Box
V

Hi, it would be useful to have a function that open a popup message like: choice := MessageBox("Confirm your operation", logicValueReturn) or symply MessageBox("Now print it out")

Thanks

Ninox Profile

You can use:

alert("Hello World!")

 

A

Or if you want a dialog box that let's you make a choice, you can use;

let check := dialog("Create Record", "New record will be created. Please confirm.", ["Continue", "Cancel"]);
if check = "Cancel" then delete this else void

A

essentially you are just using the dialog() function to obtain a choice from the user, and then saving that choice as variable "check" and then taking a certain action based on what value was saved to the variable "check"

Reply