Hi,
I'm using your plugin and I like it a lot but I needed to extend it a
little bit. I wanted to display error messages for multiple input text
having the same name but different id's. Because in the plugin is
checking only the first text box matching the name I added the next
lines:

allowDuplicateNames: false, in the default settings and

// select only the first element for each name, and only those with
rules specified
if ( ((this.name in rulesCache) && (!
validator.settings.allowDuplicateNames)) || !validator.objectLength($
(this).rules()) )

instead of

// select only the first element for each name, and only those with
rules specified
if ( this.name in rulesCache || !validator.objectLength($
(this).rules()) )

I'm finding this modification useful for me and if you like it you can
introduce it also in the plugin. I have also some translations for the
romanian language if you want to add them, just tell me how to send
them.
Regards,
Claudiu

Reply via email to