n-time/backbone.validations — Issue #10: Contributing examples
Author: tnine
Created: 2011-12-19 07:44:16+00:00
State: open

Hi mate,
First off thanks for publishing this framework! Second, I would like to contribute some additional documentation to answer questions I have. (sorry to file an issue, I wasn't able to message you).

Code is here.

https://gist.github.com/94a1f7ec13c29b1f3913

First, how can I mix your plugin with custom logic. I.E. registration date > now -13 years, and password1 == password2?

Second, how can I iterate over the attributes, and their validation errors? "registration.js" line 84.

I'll update the readme to reflect these examples. I apologize in advance if these are simple questions. I work a lot of infrastructure framework and very little on javascript.

Thanks,
Todd