Editing a Validation

Editing a validation involves similar steps as adding a validation.

Procedure

  1. With the form open in the Form Designer, select the control whose validation you wish to edit or delete.
  2. In the Properties view of the control or the pane, click the Validations tab.
  3. 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.
  4. Select the script you wish to edit.

    An ellipsis (...) button appears next to the script.

  5. Click the ellipsis (...) button.

    The Edit Validation Script dialog opens.

    The Edit Validation Script Dialog
  6. Edit the code in the Script field, and click Finish.

Result

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.
Related tasks