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
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
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
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
function(form) {
>$('#SubmitFormBtn').style.display = 'none';
>$('#PleaseWait').style.display = 'inline';
>form.submit();
>}
>
> });
> });
>
> Jörn
>
> On Sat, Jun 21, 2008 at 1:07 PM, 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
6 matches
Mail list logo