Test a multi-field validation method
Configuring a multi-field validation method involves several fields. When testing this validation method, enter data for multiple fields to simulate extraction and validation.
Also, validation methods are not yet assigned to document fields, so specify temporary formatters if the script code relies on the DoubleValue or DateValue property.
You can test a multi-field validation method by following these steps:
-
On the
Project tab, in the
Configuration group, select
Project Settings
.
- Click the Validation tab to view the validation settings.
-
Select the invoice field validation method to test and click
Properties
to open its properties window.
- In the Invoice Fields group, enter sample data into the Test Value column for the corresponding fields on your invoices.
- Optionally, select a formatter for each field.
-
In the
Testing group, click
Validate
.
A message is displayed below the input field with the results of the test.
- Modify the validation method properties until you are satisfied with the test results.
- Click Close to save the validation method properties.
- Optionally, click OK to close the Project Settings window.
- Save the changes to your project.
Related topics: