Docs (4.0.0)
class UIFormContext method

validate

Validates the current value of the specified form field.

validate(name: keyof TData): boolean

Notes

  • This method uses validation tests added using addTest() or addRequired(). The corresponding property of the UIFormContext.errors object is updated after running the validation test.
  • This method never throws an error itself.

Related