Multi-Field Validation Rule Properties

Use the Multi-Field Validation Rule properties in the Details window to configure a validation rule for more than one field. This validation rule type uses a Multi-field Script Validation method or an Invoice Validation method that is configured in the Project Settings.

The fields in the validation method usually have some sort of relationship. For example, you may have several field values that when added together, equal the total value in another field. Similarly, you might have two fields that should contain the same value. You can use a validation method to test that their contents are equal.

General

For all non-inherited validation rules, this group has the following options:

Activate Validation Rule

This option is available for inherited validation rules only.

Selecting this option makes this read-only inherited validation rule editable and independent from its parent. This means that you can make changes to this validation rule without affecting its parent. This option is usually used only if the associated locator is also overwritten.

Activate Validation Rule

This option is not available for inherited validation rules.

Selecting this option makes this read-only inherited validation rule editable and independent from its parent. This means that you can make changes to this validation rule without affecting its parent. This option is usually used only if the associated locator is also overwritten.

Validation rule makes uncertain extraction results valid

This option is not available for inherited validation rules.

The result of a validation rule can act in two ways. A failed validation rule always makes the assigned field invalid. A successful validation rule can make an uncertain extraction result valid. Check this option to enable this behavior. It should only be activated if the assigned validation methods are sufficient and strong enough. This option is cleared by default.

Validation rule works on all rows of this table

This option enables you to validate multiple fields within a table. Once enabled, this field cannot be empty, as a result, the first table in the list is selected by default. You can change this selection as needed. This option is cleared by default.

A validation rule used in this way calls the validation for each row of the selected table.

Important This option is not available for folders because folders do not support table fields.
Validation Method

This group has the following option:

Select

Select the multi-field validation method from the list. Click Configure to open the Project Settings - Validation tab and add, delete, rename, or modify your project validation methods.

Field Mapping

This group lists all fields configured in the selected multi-field validation method. This enables you to select the field in your class that maps to the fields specified in the validation method. The following columns are shown:

Field in Method

This is the field name as it is displayed in the Multi-field Script Validation method of the Invoice Validation method.

Tip Field names used in a Multi-field Script Validation method or an Invoice Validation method should be descriptive enough so that users are able to understand how they should be mapped in a validation rule.
Field in Class

Select a field in your class and map it to the corresponding field in the validation method. Repeat this until all fields are mapped as required.