powmedia/backbone-forms — pull request #15 by mjtamlyn (2011-10-25 17:33:47+00:00)
Title: Validators

I've added support for validators on the schema. See the changes to README.md for instructions on how to use it. Model validation, using the `commit` method, has been left backwardsly compatible.

Assuming this is an acceptable way to go about things, I'll add support for default validators for certain field types (e.g. `editors.Number` should validate itself on `/\d+/` or something similar), and also some useful field types (such as Email).