Re: Validation problem - form still submits after client-side validat ion fails.

2004-09-20 Thread Hubert Rabago
I could be wrong, and i don't have the time to verify this with code right now, but it's possible that the reason the form still gets submitted is because you're calling form.submit() directly. That might be bypassing the onsubmit="return validateMyForm(this)". You *do* have that, right? I don't

Re: Validation problem - form still submits after client-side validat ion fails.

2004-09-20 Thread bmf5
If I'm understanding your scenario correctly your onclick needs to call a function that will call the submit() on the form only if the validation passes. "Barnett, Brian W." <[EMAIL PROTECTED]> wrote on 09/20/2004 04:51:55 PM: > Both the client-side and the server-side validation are executi