Samples

Script samples

1. This script fills the "UserName" field when the form is loaded, validates the value of the "number" field when the user attempts to submit the form, validates the "list" field when user attempts to set a new value for this field, changes the "UserName" field when user clicks a button field on the form.

2. This script fills all the form fields by predefined values when the following events take place: when the form is loaded; when the form is open and the user attempts to submit it; when a List or Boolean field value on the form has changed; when user clicks a button field on the form.

Tungsten ControlSuite 2025.2