Creating, copying, editing, or deleting validators

Note:  This topic applies to the creation of validators at the component level in Design Mode.

In Windows client, validators are a type of global object that defines specific conditions for determining whether input to a component is valid. For example, you could create a validator to check that a user enters values between 100 and 200. Besides checking for valid input, validators can be used to output other data to the form. You can create and attach error messages to a validator.

To create, copy, edit, or delete validators:

  1. In Design Mode, from the Edit menu, select Validator.

    The Validators dialog box lists all validators that exist in the forms database.

  2. Perform one of these sets of actions:
    • To add a validator, click New and then, in the Validator Properties dialog box, enter the specifications for the validator.
    • To copy a validator, select a validator name, and then click Copy. Then, in the Validator Properties dialog box, enter a unique name for the new validator and adjust any other specifications.
    • To edit a validator, select a validator name, and then click Edit and then, in the Validator Properties dialog box, adjust any of the specifications.
    • To delete a validator, select a validator name, and then click Delete. When prompted, confirm the deletion.