Determines whether a value entered in a form is valid. Validation rules are evaluated whenever the form is submitted.
This example Validation rule checks to make sure that a user’s zip code is five digits.
<Validation> <cond> <and> <eq><length><ref>global.zipcode</ref></length> <i>5</i> </eq> <gt><ref>global.zipcode</ref><i>99999</i></gt> </and> <null/> <s>zip codes must be five digits long</s> </cond> </Validation> |