Skip to main content
The Compare Fields rule checks that the values of several fields are identical. Use it when a document has several fields whose values must match. If the values do not match, a rule error appears for the document.
1

Open the properties dialog box

Right-click the field and select Properties, or open the Document Definition properties (in the Document Definition editor, select Document Definition → Document Definition Properties).
2

Create a new rule

On the Rules tab, click New Rule. Select Compare Fields and click OK.
3

Set the common rule options

Type a Name, set the severity, conditions for applying the rule, and any Tags as needed, and click Next. For the full list of common rule options, see Set up rules.
4

Add the fields to compare

Click Add to add the fields to the Fields to compare list.
5

Select the match type

  • Exact requires an exact value match.
  • Fuzzy allows a fuzzy match: fields are compared without regard to letter case and whitespace, and one error is allowed for values longer than four characters.
6

Finish

Click Finish. The rule name appears on the Rules tab.