Re: [jQuery] Options for Validation...

2007-03-09 Thread Rick Faircloth
and you'll see how the error message is displaying. Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Friday, March 09, 2007 12:46 PM To: jQuery Discussion. Subject: Re: [jQuery] Options for Validation... Sam, keep in mind that 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 cou

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 ) > > errorPlacement: function(error, element) { >$(element).before(error); > }, > > And your CSS: > > label.error { > position: relative; > margin-top: -1em;

Re: [jQuery] Options for Validation...

2007-03-09 Thread Sam Collett
On 09/03/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Sam Collett schrieb: > > You could probably use CSS for that, but before you do, errorPlacement > > needs to change (i.e. don't add the ) > > > > errorPlacement: function(error, element) { > >$(element).before(error); > > }, > > > > And y

Re: [jQuery] Options for Validation...

2007-03-09 Thread Sam Collett
ext or an input above (without seeing how your page looks, there is no way to know). > > -Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Sam Collett > Sent: Friday, March 09, 2007 10:04 AM > To: jQuery Discussion. > Subject: Re:

Re: [jQuery] Options for Validation...

2007-03-09 Thread Rick Faircloth
and then is removed? Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Collett Sent: Friday, March 09, 2007 10:04 AM To: jQuery Discussion. Subject: Re: [jQuery] Options for Validation... I think I got it mixed up: errorPlacement: fun

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 i

Re: [jQuery] Options for Validation...

2007-03-09 Thread Rick Faircloth
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 one of the form fields), I want the error message for each fo

Re: [jQuery] Options for Validation...

2007-03-09 Thread Sam Collett
number: "Please enter a number."} > } > }) > }); > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Jörn Zaefferer > Sent: Thursday, March 0

Re: [jQuery] Options for Validation...

2007-03-09 Thread Rick Faircloth
inal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Thursday, March 08, 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 w

Re: [jQuery] Options for Validation...

2007-03-08 Thread Rick Faircloth
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Thursday, March 08, 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 m

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 understa

Re: [jQuery] Options for Validation...

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

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&#

Re: [jQuery] Options for Validation...

2007-03-08 Thread Blair Mitchelmore
You might want to look into Mike Alsup's Taconite plug-in . 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 valid

[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