validatorDataTable

The validatorDataTable property (formerly the validatorTable property) identifies a validator table, which is a DataTable part that provides comparisons for user input. Use of a validator table is part of the first stage of validation.

In the first stage, EGL performs the following actions for a single field, then moves to the next field and performs all the actions for that field. The process continues until all actions have been performed for all fields:

All checks precede use of the validatorFunction property, which specifies a validation function that does cross-value validation.

You can specify a validator table that is of any of the following types, as described in "DataTable part":
matchInvalidTable
Indicates that the user's input must be different from any value in the first column of the data table.
matchValidTable
Indicates that the user's input must match a value in the first column of the data table.
rangeChkTable
Indicates that the user's input must match a value that is between the values in the first and second column of at least one data-table row. (The range is inclusive; the user's input is also valid if it matches a value in the first or second column of any row.)

If validation fails, the displayed message is based on the value of the validatorDataTableMsgKey property.

Compatibility

Table 1. Support for validatorDataTable property
Data item JSF handler VGUI record Console UI Text Form Java™ Text Form COBOL Print Form Java Print Form COBOL
Yes Yes Yes No Yes Yes No No

Feedback