Data validation logic.
clearValidation | removes "data incorrect" highlighting from invalid text fields |
validate | checks data in the form |
onAfterValidation | fires after data has been validated |
onBeforeValidate | called before running validation |
onValidationError | fires when a form input fails to pass validation |
onValidationSuccess | fires after a form input has passed validation successfully |
rules | defines a set of rules for input field(s) of the form(htmlform) |