nealstewart/backbone.validations

backbone.validations

Opened this issue · 0 comments

Provide me a small example of ntime validations with template concept.I know only to put validators inside model and bind error event.I dont know what to write inside validate or leave it empty and Is bckbonevalidations.js is a plugin or library.

I am quite fresher working on backbone finding it bit tough as there is no proper documentation outside.I dont know where to use noConflict()

When i put that under plugin folder and used it in model.js ,it is doing validations.But as I am not overriding validate method and i am not captutring error messages (other than just one alert(errors) in error event) i am getting alert box with empty object ,but internally email validation is hapening .

Can anybody provide me simple example where every rule described in code documentation is followed and validation plus error display occurirng for one rule