Yes, that would be great.

Ryan Rose
Vice President
Digiwize, Inc.
One Technology Drive
Tolland, CT 06084
e: [EMAIL PROTECTED]
p: 860.730.2631
http://www.digiwize.com


-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jörn Zaefferer
Sent: Friday, May 25, 2007 9:58 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Validation Plugin validates hidden form fields


Ryan Rose wrote:
> Could we pass in filtering settings to validate the same way
rules/messages
> are passed? This would solve my problem, I would pass in
> .not("[EMAIL PROTECTED]")) and the hidden fields would be ignored while Dan
> wouldn't pass in any filters so his hidden fields would be validated.
>   
That sounds like a reasonable approach. How about "ignore", eg.

$("#myform").validate({
        ignore: "[EMAIL PROTECTED]"
});

With jQuery's multi-filter ability you can exclude several elements at once.

-- 
Jörn Zaefferer

http://bassistance.de


Reply via email to