Data transformation using scripts – Kofax INDICIUS 6.0 User Manual

Page 97

Advertising
background image

Configuring Completion

Getting Started Guide (Free-Form)

91

8

Double-click on the “Function” column and select the function
“zipcode_validate”.

The “zipcode_validate” function checks that the value exists in a database. If
it does, it also populates the Solicitor’s Details label with the solicitor’s name
and address.

Figure 6-35. Zip Code Validation

9

Save the template file.

Data Transformation Using Scripts

As well as being used for field or document-level data validation, scripts can also be
used in Completion to transform data before it is loaded. Each field has four script
hooks that can be attached to functions expressed in script:

Table 6-20. Script Hooks

Script Hook

Runs When…

Enter

The user navigates into a field.

Change

A new character is entered in the field.

Advertising