Editing a Validation
Editing a validation involves similar steps as adding a validation.
- Procedure
- With the form open in the Form Designer, select the control whose validation you wish to edit or delete.
- In the Properties view of the control or the pane, click the Validations tab.
- From the
Validations tab of the Properties view, edit the
Name,
Execute When,
Message Type,
Message, and
List fields.
Note: If the message is an external reference, a cell editor appears on clicking in the message cell. Clicking the cell editor opens the Resource Picker, from where you can select an appropriate message key.
- Select the script you wish to edit.
An ellipsis (...) button appears next to the script.
- Click the ellipsis
(...) button.
The Edit Validation Script dialog box opens.
The Edit Validation Script Dialog Box
- Edit the code in the Script field, and click Finish.
Note: The script editor provides content-assist editing. On typing the beginning of a legal value, such as “
control.”, a pop-up window appears listing the available completion proposals. If you type
CTRL+Space, a list displays containing all the top-level variables that are available in the given context.