Input Text (Edit Box)

The Edit Box exports the text to the defined string variable and in case of integer or float type input box it also exports the numerical value to the defined numerical variable.

You must note:

This is only one way: from Input box to the variable, not the other way.

The variable is not initialized with the default text, the variable is empty if user don't change the default text. However you can simply initialize the variables with any text you like on for example the Page Script.

To change the text in the Input Box on runtime you have to use:

LoadText("OBJECT","STRING VARIABLE")

The string variable doesn't have to be the one associated with the Input Text Object.

for example:

my$=' Enter your name here'

LoadText("EditBox","my$")

If you use non-string type (integer or float) the user will be able to enter only the characters used by this type (numbers, floating point, exponet, minus sign)