Skip to content
Jorge Reyes edited this page May 29, 2015 · 2 revisions

← Displaying Errors

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.

Clone this wiki locally