The program will treat as text type not only the data types with Text content, but also data types with other content for which the Process value as text option is selected.
- Maximum length specify the maximum length of text in the field;
- In the Content constraint field, select Regular expression from the list if a regular expression should be used to check field values.
The
button will help you to form a regular expression correctly. For details, see Alphabet used in regular expressions.
To make error messages more readable, in the Regular expression description field, provide a description of the regular expressions that will be used in error messages. - In the Content constraint field, select Allowed values from the list if you need to specify a list of allowed values. To add a value, click Add… and enter the value. To edit a value, click Edit…; to delete a value, click Delete. To load possible values from a file, click Load…
- The following characters can be used as value delimiters in loaded files: comma (,), period (.), semicolon (;),colon (:), exclamation point (!), question mark (?), equal mark (=), parentheses, slash (/), pilcrow (¶), and space. For this reason, if an allowed value is made up of multiple words, the spaces between the words should be replaced with %0020.
2. If multiple files containing identical lines are loaded consecutively, allowed values are not duplicated.
3. When loading a list of allowed values from a rule, a repeat check is carried out after local edits are applied.
4. When entering a value in a data form field, suggestions in the drop-down list are arranged as follows. First come the values matching the first entered characters in the field (incremental filtering). They are followed by the remaining values arranged alphabetically.
Note: Incremental filtering only works when values are entered into a field. Selecting a text fragment in a field does not count as field editing.
- Select the Use external source of allowed values option if recognized values need checking in the list of admissible values from an external text file, a database or a data set. To specify the source of values, click the Edit… button. In this type of check the list of admissible value is not copied to the project and connection to the external source is carried out straight during the check.
- Treat validation error as warning Select this option if you wish any non-compliance with the constraints you specified to be treated as a warning. Warnings do not prevent the Operator from sending documents to the next processing stage, while for uncorrected format errors, an additional confirmation from the Operator is required before sending.
