Multi-Field Validation Rule details

These details are displayed whenever a Multi-Field Validation Rule Project Tree - Multiple Field Validation Rule icon is selected in the Project Tree.

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.

The following settings are available.

General

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

Validation rule is active

This setting is available for inherited validation rules only.

Selecting this setting 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 setting is usually used only if the associated locator is also overwritten.

If this setting is cleared, the validation rule from the parent class is executed for this inherited class.

Validation rule makes uncertain extraction results valid

This setting 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 setting to enable this behavior. It should only be activated if the assigned validation methods are sufficient and strong enough. This setting is cleared by default.

Validation rule works on all rows of this table

This setting 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 setting is cleared by default.

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

This setting is not available for folders because folders do not support table fields.

Validation Method

This group has the following setting:

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 available:
Field in Method

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

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.