[jQuery] How can I disable a form submit button if there are entry errors?
Hi, all.
I'm using Jorn's validation plug-in to validate form entry
and everything is working perfectly, except for the fact
that even after an entry error is made the message shown,
a user can still click the "Calculate" button and submit the
form.
I need to disable the "Calculate" button somehow if an
entry error is made.
Can someone give me some clues how this can be done?
Plug-ins involved in the form are Jorn's Validation
and there is an Ajax(?) functions for submitting the form
and returning the result.
Jorn's validation plug-in has debug set to true and that's
supposed to stop *all* form submissions, even the correct ones,
but so far everything's going through.
Clues anyone?
Thanks,
Rick
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/