By default, Backbone provides a simple way for validating model attributes using the
validate() method, which allows to create your own validating function, but this can take more developer's time compared to the usage of existing solutions.
Why don't you save time with another Backbone extension named
Backbone.Validation, which provides lots of features and allows to reuse existing validators. It is available to download from the GitHub page https://github.com/thedersen/backbone.validation.
To include this extension into your project, save the
backbone-validation.js file in the
lib folder and include a reference to it in
Including a Backbone extension into your project is described ...