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!
... 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
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
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
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
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
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
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
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
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
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
] 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
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
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
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
. 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
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
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
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
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
: 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
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
, 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
23 matches
Mail list logo