[jQuery] Re: Validation Plugin validates hidden form fields

2007-05-25 Thread Ryan Rose
, 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 > .no

[jQuery] Re: Validation Plugin validates hidden form fields

2007-05-25 Thread Jörn Zaefferer
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.

[jQuery] Re: Validation Plugin validates hidden form fields

2007-05-25 Thread Ryan Rose
M To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation Plugin validates hidden form fields Jörn, >I don't think there is a case where you want to validate a hidden >input, is there? I'm not sure if this was a question to just Ryan or to everyone. :) However, I often find the

[jQuery] Re: Validation Plugin validates hidden form fields

2007-05-25 Thread Dan G. Switzer, II
Jörn, >I don't think there is a case where you want to validate a hidden >input, is there? I'm not sure if this was a question to just Ryan or to everyone. :) However, I often find the need to validate against hidden form fields. Often when building advanced form functionality, I'm using hidden

[jQuery] Re: Validation Plugin validates hidden form fields

2007-05-25 Thread Jörn Zaefferer
Ryan Rose wrote: I have run into another problem. I am using CakePHP and Cake renders checkboxes as a hidden form element (for storing the value sent to the server) and then the checkbox input. Eg: When refresh is run in validator it is selecting the hidden form element first (because t

[jQuery] Re: Validation Plugin validates hidden form fields

2007-05-24 Thread Ryan Rose
PROTECTED] On Behalf Of Jörn Zaefferer Sent: Wednesday, May 23, 2007 4:53 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation Plugin validates hidden form fields Ryan Rose wrote: > > Jörn, > > How can I force the new validation plugin to ignore form elements with

[jQuery] Re: Validation Plugin validates hidden form fields

2007-05-24 Thread Ryan Rose
@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Wednesday, May 23, 2007 4:53 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation Plugin validates hidden form fields Ryan Rose wrote: > > Jörn, > > How can I force the new validation plugin to ignore f

[jQuery] Re: Validation Plugin validates hidden form fields

2007-05-23 Thread Jörn Zaefferer
Ryan Rose wrote: Jörn, How can I force the new validation plugin to ignore form elements with display: none? I modified the previous release this way: validator.elements = this.find(":input:not(:submit):not(:reset):visible").focus(function() { validator.lastActive = this; }); Try