try:

onclick="return validate()"

-vincent.

"Galbreath, Mark" wrote:

> Anybody have/had any issues with <html:form> submitting using client-side
> (JavaScript) validation?  I've tried everything from onsubmit="return
> validate()" as a form parameter to onclick="validate()" on the input image
> (using both HTML <input /> and <html:image>) and though the JavaScript
> function is called, the correct conditional is entered with its
> corresponding alert(), the form submits even though "false" is returned.
> This is a major PITA!
>
> If you've encountered this, what workaround, if any, did you implement?
>
> Thanks (only 5 hours 'till black and tan [Bass Pale Ale + Guinness] time!),
> Mark


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to