, 2007 5:30 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Options for Validation...
Rick Faircloth schrieb:
Calling all jQuery/CFers
Im not real satisfied with the error message placement
options in Jorn Zaefferers validation plug-in.
I like to place my error messages right above
, 2007 5:30 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Options for Validation...
Rick Faircloth schrieb:
Calling all jQuery/CF'ers…
I'm not real satisfied with the error message placement
options in Jorn Zaefferer's validation plug-in.
I like to place my error messages right
On 09/03/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Hi, Sam, and thanks for the reply...
With your code, the validation function seems to be
working, but the error message is not displaying...
And it's not that I want *every* error message to display
before #Principal (that's the id for
Sam Collett schrieb:
You could probably use CSS for that, but before you do, errorPlacement
needs to change (i.e. don't add the br)
errorPlacement: function(error, element) {
$(element).before(error);
},
And your CSS:
label.error {
position: relative;
margin-top: -1em;
}
The
Sam Collett schrieb:
Didn't realise that - I thought they were just DOM elements. The CSS
should still be interpreted even if the error label is not originally
on the page.
Using insert before would mean the text input shifts when the error
shows (i.e. moves right), but with CSS you could
Calling all jQuery/CF'ers.
I'm not real satisfied with the error message placement
options in Jorn Zaefferer's validation plug-in.
I like to place my error messages right above the form field
that the error message references.
Right now, as I understand it, Jorn's plug-in doesn't allow
for that
You might want to look into Mike Alsup's Taconite plug-in
http://www.malsup.com/jquery/taconite/. Seems to be able to do what
you want.
-blair
Rick Faircloth wrote:
Calling all jQuery/CF’ers…
I’m not real satisfied with the error message placement
options in Jorn Zaefferer’s validation
Thanks for the tip, Blair.
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Blair Mitchelmore
Sent: Thursday, March 08, 2007 4:23 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Options for Validation...
You might want to look into Mike Alsup's
it?
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Blair Mitchelmore
Sent: Thursday, March 08, 2007 4:23 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Options for Validation...
You might want to look into Mike Alsup's Taconite plug-in
http
Rick Faircloth schrieb:
Calling all jQuery/CF’ers…
I’m not real satisfied with the error message placement
options in Jorn Zaefferer’s validation plug-in.
I like to place my error messages right above the form field
that the error message references.
Right now, as I understand it,
PM
To: jQuery Discussion.
Subject: Re: [jQuery] Options for Validation...
Rick Faircloth schrieb:
Calling all jQuery/CFers
Im not real satisfied with the error message placement
options in Jorn Zaefferers validation plug-in.
I like to place my error messages right above the form field
11 matches
Mail list logo