Use this form to add, edit, and order validators for a property or property class.
To access this form, click the ellipses (...) button to the right of the Validators field in either the IDO Properties form or the Property Classes form.
Any validators you define here are executed by the IDO Runtime service during a collection save operation. These validators are also inherited by any component on a form that is bound to this property or to a property derived from that class.
This form is a multi-page form. This table describes the accessibility and function of each page:
Page | Description/Comments |
Main page |
Until at least one validator has been added, this page does nothing. To add a validator, click Add. When there is at least one validator specified, to edit a selected validator, click Edit. When there are multiple validators, you can rearrange the order in which they validate using the Move Up and Move Down buttons. To close this form and return any validator definitions to the parent form, click OK. |
Select Validator Type page |
This page displays when you click Add in the main page. Use the option buttons to select the type of validator to add:
After you select an option, click Next. The page you go to is determined by your choice on this page. To cancel and return to the main page without adding the validator, click Cancel. |
Set Properties From Inline List page |
This page displays when:
Use this page to select additional properties to be set from the inline list on a successful validation. On this page, use the grid to specify:
You can also optionally specify an error message to display if the validation fails. |
In Collection Validator page |
This page displays when:
Use this page to select the IDO and IDO property that are to be set on a successful validation. On this page, use the grid to specify:
You can also optionally set a filter and any additional properties to be set if the validation is successful. Finally, you can also specify an error message to display if the validation fails. |
IDO Method Validator page |
This page displays when:
Use this page to specify the IDO and method that are to be used to validate the property value. Specify any parameters that the method requires in the grid. These parameters can be:
The validator then evaluates the Value at run time. If the Source specifies a property value, then the Value is treated as a property value. if the Source specifies a literal value, then the Value is treated as a literal value. Finally, you can also specify an error message to display if the validation fails. |