Value Check
A value check ensures the field value is in the set of allowed values for a field. It compares the value of the incoming field to a constant, range of constants, or another field. It also supports conditionals where only if the condition is true does it perform the evaluation.
When a conditional is used, and the condition part of the operator is false, the evaluation is considered successful.
Content validation supports up to five value checks per record. Typically only one is needed, but there are some fields that require multiple checks. They are available to perform various tests on the contents of a single data field.
When a conditional fails to be met, the evaluation continues with the next value check. If multiple value checks have conditionals and they all return false, no error code is set. For more information about specifying the conditionals, see If Operator.
If the field being validated is blank, the only error that can be generated is the mandatory check. If a field is not blank, all tests are performed, which makes it possible to have multiple errors for each field in a record.
- a test passes
- the value of ValuesN is blank
- all of the tests have been executed
Typically one error code is assigned to the group of value checks, such that if collectively they fail the error code is assigned. However, each value check can be configured to assigned its own error code if need be.
- value in and value not in clauses
- date related operators
- field operator
- if operator
- format operator
- regular expressions operators
- and and or operators