Validate Form Data

XML Forms Guide

Version
R2024.1.1
Validate Form Data

To validate form data, you can include one or more validation rules. Validation rules test the form data against logical conditions to determine whether the form can be submitted for processing. Currently, you can do the following:

  • Validate the number of entries for a particular data element.
  • Create a custom rule to validate the contents of any number of different data elements.
  • Call one of the predefined rules.

Validation rules are defined using <ValidationRule> tags. The validation tags must appear within the <WF_DynamicForm> tag. You can include multiple validation rules within each form. Form validations will be performed in addition to any server-based validations.