-
-
Notifications
You must be signed in to change notification settings - Fork 24
Common Methods
Jorge Reyes edited this page May 29, 2015
·
2 revisions
The following are some common methods from the validation result object for dealing with errors:
- getResultMetadata()
- getFieldErrors( [field] )
- getAllErrors( [field] )
- getAllErrorsAsJSON( [field] )
- getAllErrorsAsStruct( [field] )
- getErrorCount( [field] )
- hasErrors( [field] )
- getErrors()
As always, please visit the API Docs for the latest methods and arguments.