Add a single field validation rule
Use the same procedure to add a single field validation rule to a simple field
or a table field
. The
Project Tree selection determines the actions are available due to the
selection behavior.
You can add a single field validation rule by following these steps:
- Open the Project Tree window if it is not already open.
- Expand the Project Tree and select the class where the validation rule is to be located.
-
Optionally,
view the class contents if they are not
already displayed.
The hidden class contents are displayed.
- Open the Details window if it is not already open.
-
On the
Design tab, from the
Create group, click
Single Field Validation Rule
.
A new single field validation rule with a default name is automatically added to the class hierarchy of the Project Tree. This new validation rule is selected, its name is editable, and the Single Field Validation Rule Properties are displayed in the Details window.
-
Optionally,
rename your
validation rule and press
Enter.
The validation rule name is updated.
-
In the
Details window, select a field name from the
Field list.
The selected field is validated using the settings you configure.
- Optionally, select the Validation rule makes uncertain extraction results valid setting if you want these settings to override a low confidence extraction result.
-
Click
Add
.
The Validation Method window is displayed.
-
Optionally, click
Configure to
add or
modify a single field script validation method.
The Project Settings - Validation tab is displayed so you can configure your validation methods. When completed, return to the Details window to continue configuring your validation rule.
-
Select a
validation method from the
Please select a validation method list and then click
OK.
The selected validation method is added to the Selected validation methods list.
-
Optionally, click
Add
again to add more validation methods to this rule.