Validation methods

Validation methods let you implement automatic checks for an extracted field. You can create several types of validation methods including custom script methods.

To use validation methods throughout a project, assign them to validation rules before applying them to extraction fields. You can use one validation method in multiple classes in a project, or for multiple fields in the same class. Set up validation methods in such a way that you can share them with as many validation rules as possible.

When applying validation rules to a field, their order is important. The validation methods are executed in the same order that they are listed in the Project Tree. Because of this, if a validation rule fails, the field is set to invalid and none of the following validation rules in the sequence are run.

The following validation methods are used to validate single fields:

  • Standard Validation

  • Date Validation

  • Regular Expression Validation

  • Single Field Script Validation

The following validation methods are used to validate multiple fields:

  • Multi Field Script Validation

  • Invoice Field Validation

Manage validation methods as follows: