The
validatorDataTable property (formerly the
validatorTable property)
identifies a
validator table, which is a dataTable
part that acts as the basis of a comparison with user input. Use of a validator
table occurs after the EGL runtime does the elementary validation checks,
if any. Those elementary checks are described in relation to the following
properties:
- inputRequired
- isDecimalDigit
- isHexDigit
- minimumInput
- needsSOSI
- validValues
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 in EGL source format:
- 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
property validatorDataTableMsgKey.