Models

AJAX Abstraction for a Single Resource

validationError

The validationError property is used to store and retrieve any validation error that occured, assuming you defined a validate() method.

Default Implementation

The default implementation looks like this:

validationError: null,

Usage

To see how validationError is used, see the example in the validate() documentation which you can find here.