[jQuery] Re: jQuery Validation Plugin - rule metadata documentation?

2009-04-23 Thread Jörn Zaefferer
The list applies to metadata as well. You can specify any method as an attribute, and where there are no parameters needed, use a class instead. Jörn On Thu, Apr 23, 2009 at 9:49 PM, Brad nrmlcrpt...@gmail.com wrote: Are the options, usage and limitations for the jQuery Validation rules

[jQuery] Re: jQuery Validation Plugin - rule metadata documentation?

2009-04-23 Thread Brad
Thanks Jorn. Since I wrote I've been looking at the additional- methods.js to get ideas on how to write some custom filter and found this example: class={required:true,vinUS:true} Is that object syntax required when using custom filters as opposed to simply class=required vinUS? re: where no

[jQuery] Re: jQuery Validation Plugin - rule metadata documentation?

2009-04-23 Thread Jörn Zaefferer
This requires the metadata plugin: class={required:true,vinUS:true} This doesn't: class=required vinUS minlength=2 Jörn On Thu, Apr 23, 2009 at 10:09 PM, Brad nrmlcrpt...@gmail.com wrote: Thanks Jorn. Since I wrote I've been looking at the additional- methods.js to get ideas on how to write