WinStudio

Inline Script Validators

Inline Script validators allow you to enter the text of a short validation script directly in the Parameters row of the Validator Properties dialog box. Use an Inline Script if the entered script (including parameters) is less than 12 lines (750 characters).

If a script exceeds the maximum length, use the Run Script response type, which accesses WinStudio objects and data through the scripting API. For more information, see Related Topics.

To pass the validation, the script must return zero. If the script returns a nonzero value, WinStudio fails the validation.


Related Topics

About IDOCollection Object (WinStudio Scripts)

About FormComponent Object (WinStudio Scripts)

About Form Object (WinStudio Scripts)

About WinStudio Application Object (WinStudio Scripts)

Create, Copy, Edit, or Delete Global Scripts

Maximum Length of Parameters and Values

Referencing Variables in WinStudio Scripts

Understanding Scripts in WinStudio