Data validation logic.
clearValidation | removes "data incorrect" highlighting from invalid text fields |
validate | checks data in the component during adding new item or editing existing ones |
onAfterValidation | fires after data has been validated |
onBeforeValidate | called before runing validation |
onValidationError | fires when the form fails to pass validation |
onValidationSuccess | fires after the form has passes validation successfully |
rules | defines a set of rules for input field(s) of the form(htmlform) |