[jQuery] Validate form labels disappear

2009-02-26 Thread LVR
First, let me say my skill level with jQuery and javascript is low. Apparently too low to figure this out. I am currently using the Validate plugin for form validation. It works well, except for this problem: when an element validates, the label element disappears. I'm using the following code

[jQuery] Re: Validate and erroneous "display:none"

2008-07-02 Thread LVR
ld I still be able to use highlight and unhighlight, or is that my problem? I apologize for my ignorance. Thanks for your help so far, I'll keep researching and experimenting... LVR On Jun 30, 11:09 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Don't add the e

[jQuery] Re: Validate and erroneous "display:none"

2008-06-30 Thread LVR
e the display:none from the equation? I'd like to avoid adding other error labels, if possible. Thanks for your help... LVR On Jun 30, 11:09 am, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Don't add the error class to the label. The validation plugin searches > for the

[jQuery] Validate and erroneous "display:none"

2008-06-30 Thread LVR
ass); }, unhighlight: function(element, errorClass) { $(element).removeClass(errorClass); $(element.form).find("label[for=" + element.id +"]").removeClass(errorClass); } }); }); Typical form elements: •First Name: •Last Name: Thanks... LVR

[jQuery] Re: Replacing elements when validate successful

2008-06-21 Thread LVR
function(form) { >$('#SubmitFormBtn').style.display = 'none'; >$('#PleaseWait').style.display = 'inline'; >form.submit(); >} > > }); > }); > > Jörn > > On Sat, Jun 21, 2008 at 1:07 PM, LVR <

[jQuery] Replacing elements when validate successful

2008-06-21 Thread LVR
I'm using the 'Validate' plugin for simple form validation - using 'highlight' and 'unhighlight'. That part is working (though sometimes the label elements disappear totally - but that's another issue). What I'm trying to accomplish is this: When the form is valid, I want to replace the submit b