Hi all.

I was thinking about using Form.Validator and Clientcide's FormValidator
behavior, but I don't like how the validation is kept as a class name:

<input type="text" class="required minLength:3" />

I would much rather use the HTML5 data-* attributes:

<input type="text" data-validate-rules="{required:true, minLength:3}" />

...or something like that. Is there a way to setup the form validator to use
this method instead of looking at the classes? Set me straight if I'm
missing something.

Thanks!
~Philip

-- 
http://lonestarlightandsound.com/

Reply via email to