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
- class UIFormContextAn object that contains form field data along with validation tests.