Docs (4.0.0)
class UIFormContext method

validateAll

Runs all validation tests and updates the errors object.

validateAll(): this

Notes

  • This method uses validation tests added using addTest() or addRequired(). The corresponding properties of the UIFormContext.errors object are updated after running all validation tests.
  • After validation, a change event is emitted on the form context object itself, unless there were no errors before and there are still no errors.
  • This method never throws an error itself.

Related