Configure validation for document fields
Configure validation rules on document fields to determine whether a field is valid or invalid. You can also associate multiple validation rules with a document field.
If any fields in a table are set as hidden\read-only (Validation form>Table>Extended Properties>Column), then it can possibly prevent a user from completing a Validation activity. The reason is that when a user adds a row to a table, all the cells in that new row are marked invalid (including any hidden or read-only cells). As a result, all the visible cells in the table do not mark the table as valid and the user is not able to complete the Validation activity.
If you want to hide fields from one user but visible to others, you must do either of the following:
-
Define the hidden field as ‘Always Valid’.
-
Define validation rules that run during the ‘Add Table Row’ event that will set the valid flag as ‘true’ for hidden and read-only cells. See Add field validation rules for a document type.
- On the Document field group, select the field.
- Click the Validation tab.
-
A child document type inherits a field group with all its fields
including the properties from the parent document types. To override the parent
document type rules, click
Yes for
Override Parent Rules.
(Default: No)
Note This option is only available for inherited document fields.
-
To manually validate a field, click
Yes for
Require Manual Field
Confirmation.
This option is useful if the contents of a field must be absolutely accurate and there is no margin for error.
-
Click
Yes for
Always Valid.
This option allows the field to be always valid.
Note The Require Manual Field Confirmation and Always Valid options are No by default. Default values are based on the parent values but can be overridden. -
Select the validation rules from the
Available list and click
Add
to move the rules to the
Existing list. To remove
validation rules, click
Remove
.
-
To change the order in which
TotalAgility
executes validation rules, use the
Up and
Down arrows.
Note At runtime, TotalAgility executes the validation rules in order.