Re: [jQuery] Validation help with Date Selector

2007-03-12 Thread Sam Collett
On 11/03/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Rick Faircloth schrieb: onInvalid: function(form) { $(form).find([EMAIL PROTECTED]).attr(disabled, disabled); }, onValid: function(form) { $(form).find([EMAIL PROTECTED]).attr(disabled, ); } That looks good to me!

Re: [jQuery] Validation help with Date Selector

2007-03-12 Thread Rick Faircloth
... do you think I should do something more? Thanks for the feedback... Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Collett Sent: Monday, March 12, 2007 3:05 AM To: jQuery Discussion. Subject: Re: [jQuery] Validation help with Date Selector

Re: [jQuery] Validation help with Date Selector

2007-03-12 Thread Sam Collett
On 12/03/07, Rick Faircloth [EMAIL PROTECTED] wrote: There may be other reasons you may want to call a function when everything is OK Can you give some examples of what you're thinking about? Maybe performing an auto submit (although that would put extra load on the server) or showing

Re: [jQuery] Validation help with Date Selector

2007-03-12 Thread Rick Faircloth
Good ideas, Sam... Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Collett Sent: Monday, March 12, 2007 1:24 PM To: jQuery Discussion. Subject: Re: [jQuery] Validation help with Date Selector On 12/03/07, Rick Faircloth [EMAIL PROTECTED] wrote

Re: [jQuery] Validation help with Date Selector

2007-03-11 Thread Sam Collett
than actual working code (and it may work if it is implemented). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Collett Sent: Saturday, March 10, 2007 7:02 PM To: jQuery Discussion. Subject: Re: [jQuery] Validation help with Date Selector I

Re: [jQuery] Validation help with Date Selector

2007-03-11 Thread Jörn Zaefferer
Rick Faircloth schrieb: onInvalid: function(form) { $(form).find([EMAIL PROTECTED]).attr(disabled, disabled); }, onValid: function(form) { $(form).find([EMAIL PROTECTED]).attr(disabled, ); } That looks good to me! Hopefully that will work. I'm using Jorn's plug-in in debug

Re: [jQuery] Validation help with Date Selector

2007-03-11 Thread Rick Faircloth
To: jQuery Discussion. Subject: Re: [jQuery] Validation help with Date Selector Rick Faircloth schrieb: onInvalid: function(form) { $(form).find([EMAIL PROTECTED]).attr(disabled, disabled); }, onValid: function(form) { $(form).find([EMAIL PROTECTED]).attr(disabled, ); } That looks

Re: [jQuery] Validation help with Date Selector

2007-03-11 Thread Aaron Heimlich
On 3/11/07, Rick Faircloth [EMAIL PROTECTED] wrote: I didn't see anything about submitHandlers at http://jquery.bassistance.de/api-browser/plugins.html Can you be more specific? http://jquery.bassistance.de/api-browser/plugins.html#validateMap Fifth item down under Options -- Aaron

Re: [jQuery] Validation help with Date Selector

2007-03-11 Thread Rick Faircloth
Thanks, Aaron. I never would have expected it under Maps since I'm not familiar with that. Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Heimlich Sent: Sunday, March 11, 2007 7:29 PM To: jQuery Discussion. Subject: Re: [jQuery] Validation help with Date Selector

Re: [jQuery] Validation help with Date Selector

2007-03-10 Thread Rick Faircloth
the button when all field entries are satisfactory? I can't get a handle on that one. Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Collett Sent: Saturday, March 10, 2007 2:52 AM To: jQuery Discussion. Subject: Re: [jQuery] Validation help

Re: [jQuery] Validation help with Date Selector

2007-03-10 Thread Sam Collett
On 10/03/07, Rick Faircloth [EMAIL PROTECTED] wrote: Thanks, Sam! That will be much more flexible than my approach. I've often found that when I first begin to learn coding techniques, that I end up learning the long-hand version first and getting that working, then it's easier to see ways

Re: [jQuery] Validation help with Date Selector

2007-03-10 Thread Rick Faircloth
] Validation help with Date Selector I think to do that, the validation needs two more callbacks, e.g. onValid, onInvalid. So the following is possible: onInvalid: function(form) { $(form).find([EMAIL PROTECTED]).attr(disabled, disabled); }, onValid: function(form) { $(form).find([EMAIL PROTECTED

Re: [jQuery] Validation help with Date Selector

2007-03-09 Thread Rick Faircloth
Did you ever figure out how to move the location of the error message for your input? Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of blemming Sent: Thursday, March 08, 2007 8:02 PM To: discuss@jquery.com Subject: Re: [jQuery] Validation help

Re: [jQuery] Validation help with Date Selector

2007-03-09 Thread Rick Faircloth
and input.error? Would that matter to your code? Thanks for your input! Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Dexter Sent: Friday, March 09, 2007 1:23 PM To: 'jQuery Discussion.' Subject: Re: [jQuery] Validation help with Date Selector

Re: [jQuery] Validation help with Date Selector

2007-03-09 Thread David Dexter
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Faircloth Sent: Friday, March 09, 2007 10:50 AM To: 'jQuery Discussion.' Subject: Re: [jQuery] Validation help with Date Selector Hi, David... Your code below looks promising. So I would need to change dateselect

Re: [jQuery] Validation help with Date Selector

2007-03-09 Thread Rick Faircloth
. David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Dexter Sent: Friday, March 09, 2007 1:23 PM To: 'jQuery Discussion.' Subject: Re: [jQuery] Validation help with Date Selector $(#myform).validate({ errorPlacement: function(error, element

Re: [jQuery] Validation help with Date Selector

2007-03-09 Thread David Dexter
form. David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Dexter Sent: Friday, March 09, 2007 1:23 PM To: 'jQuery Discussion.' Subject: Re: [jQuery] Validation help with Date Selector $(#myform).validate({ errorPlacement: function(error

Re: [jQuery] Validation help with Date Selector

2007-03-09 Thread Sam Collett
On 09/03/07, Rick Faircloth [EMAIL PROTECTED] wrote: Well.. thanks to everyone's help, especially yours, David, I've finally got a perfectly working solution that is based on your solution, David. Thanks to Jorn and Sam, too! (Just a note: I've still got one problem to solve. When a form

[jQuery] Validation help with Date Selector

2007-03-08 Thread blemming
I have a form with multiple inputs. One of them using the dateselector plugin. On validation that field gets jumbled up because of the placement of the date icon. What I'm wondering is on just that one field can I set the error message to appear in an alternate location? i.e. - Can I add

Re: [jQuery] Validation help with Date Selector

2007-03-08 Thread Rick Faircloth
Have you figured out how to style the error message, yet? Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of blemming Sent: Thursday, March 08, 2007 7:40 PM To: discuss@jquery.com Subject: [jQuery] Validation help with Date Selector I have a form

Re: [jQuery] Validation help with Date Selector

2007-03-08 Thread Rick Faircloth
: Thursday, March 08, 2007 7:40 PM To: discuss@jquery.com Subject: [jQuery] Validation help with Date Selector I have a form with multiple inputs. One of them using the dateselector plugin. On validation that field gets jumbled up because of the placement of the date icon. What I'm wondering

Re: [jQuery] Validation help with Date Selector

2007-03-08 Thread blemming
Sent: Thursday, March 08, 2007 7:40 PM To: discuss@jquery.com Subject: [jQuery] Validation help with Date Selector I have a form with multiple inputs. One of them using the dateselector plugin. On validation that field gets jumbled up because of the placement of the date icon. What I'm

Re: [jQuery] Validation help with Date Selector

2007-03-08 Thread Rick Faircloth
, 2007 8:02 PM To: discuss@jquery.com Subject: Re: [jQuery] Validation help with Date Selector You can style it with the css class error I'm trying to move the location of it for one input. Rick Faircloth wrote: Have you figured out how to style the error message, yet? Rick -Original