Edit Validators

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:

  • You select In Inline List on the Select Validator Type page and then click Next.

  • You select an In Inline List validator on the main page and then click Edit.

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:

  • The property to be updated if validation is successful (Property Name)
  • The column from the inline list from which the value is to be taken (Inline List Column)

You can also optionally specify an error message to display if the validation fails.

In Collection Validator page

This page displays when:

  • You select In IDO Collection on the Select Validator Type page and then click Next.

  • You select an In Collection validator on the main page and then click Edit.

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:

  • The target property; that is, the property for which the new value is to be assigned if the validation is successful
  • The source property; that is, the property to be evaluated during the validation activity

 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:

  • You select IDO Method on the Select Validator Type page and then click Next.

  • You select an IDO Method validator on the main page and then click Edit.

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:

  • Input only, both input and output, or message values (Type)

  • Either property values or literal values (Source)

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.


Related Topics

Understanding Validators

Understanding Properties

In Inline List Validators

In Collection Validators

Method Call Validators