Adding the Validate Currency Field rule to the document hierarchy

To add the Validate Currency Field rule to the document hierarchy, you must use Datacap Studio

Procedure

To add the Validate Currency Field rule to the document hierarchy:

  1. In the Document Hierarchy pane, click Lock DCO.
  2. Expand the Car_Rental > Rental_Agreement page so that the fields are visible.
  3. In the Validate ruleset, select the Validate Currency Field rule.
  4. In the Document Hierarchy pane, select the Total_Cost field node. Then, click Add to DCO on the left side of the Rulesets pane. The Validate Currency Field rule is added to the Open element in the Total Cost field.
  5. Expand the Flight > Air_Ticket page so the fields are visible.
  6. Select the Airfare field and click Add to DCO to add the Validate Currency Rule to the Open element of the Airfare field.
  7. Select the Taxes field and click Add to DCO to add the Validate Currency Rule to the Open element of the Taxes field. Because the Total_Cost field definition is shared across pages, the Validate Currency Rule is already included in the Total_Cost field on the Air_Ticket and Room_Receipt pages.
  8. In the Document Hierarchy pane, click Save.