beautypg.com

Kofax Getting Started with Ascent Xtrata Pro User Manual

Page 238

background image

Set Up Validation

Ascent Xtrata Pro User's Guide

219

Note

Do not use formatters to correct OCR results at this state of processing (for

example, to exchange a capital “I” with a number “1” within an amount field). This
should be corrected during extraction, because a field formatter cannot change the
state of an invalid field to valid.

The following formatter types are provided:

Amount Formatter

Unifies and validates amount formats on the document.

Date Formatter

Unifies and validates date formats on the document.

Percentage Formatter

Unifies and validates percentage formats on the document.

Script Formatter

Unifies and validates any other format types using the Sax Basic script engine.

For more information about setting up formatters, see Extraction

Validation Methods

Validation methods make it possible to implement automatic check algorithms. This
can be by accomplished by using the predefined methods or by creating custom
script methods.

Validation methods belong to the entire project, and have to be assigned to
validation rules to apply them to specific fields. This means that one validation
method can be used in multiple classes in a project, or for multiple fields in the same
class.

Therefore, it is a good idea to set up validation methods in a way such that they can
be shared by as many validation rules as possible.

The following predefined validation methods are provided:

• Standard Validation
• Date Validation
• Regular Expression Validation
• Single Field Script Validation