Re: [jQuery] Options for Validation...

2007-03-09 Thread Rick Faircloth
, 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 above

Re: [jQuery] Options for Validation...

2007-03-09 Thread Sam Collett
, 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

Re: [jQuery] Options for Validation...

2007-03-09 Thread Sam Collett
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

Re: [jQuery] Options for Validation...

2007-03-09 Thread Jörn Zaefferer
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

Re: [jQuery] Options for Validation...

2007-03-09 Thread Jörn Zaefferer
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

[jQuery] Options for Validation...

2007-03-08 Thread Rick Faircloth
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

Re: [jQuery] Options for Validation...

2007-03-08 Thread Blair Mitchelmore
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

Re: [jQuery] Options for Validation...

2007-03-08 Thread Rick Faircloth
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

Re: [jQuery] Options for Validation...

2007-03-08 Thread Rick Faircloth
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

Re: [jQuery] Options for Validation...

2007-03-08 Thread Jörn Zaefferer
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,

Re: [jQuery] Options for Validation...

2007-03-08 Thread Rick Faircloth
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 above the form field