bmit button, and allowed "enter" key to submit the form.
Brian Barnett
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 3:59 PM
To: Struts Users Mailing List
Subject: Re: Validation problem - form still submits after client-
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
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
Both the client-side and the server-side validation are executing instead of
just the client-side. I know it has something to do with the way I've coded
the save button. The underlying problem is that I want to use images and
roll-over images for the save button but I also want the "enter" key to
s
4 matches
Mail list logo