defaultText

Specifies the default text to appear within the TextInput field. If ‘Default Text’ is specified, the placeholderText is not shown. If the ‘Default Text’ is not subsequently modified by the user, it will be submitted as the value of the TextInput component.

Type

String or Number

Example

TextInput1.defaultText = 'NJ';

Either syntax below can be used in component script:

defaultText                // unqualified
TextInput1.defaultText     // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.