That did the trick, dude! Thanks - been a few years since I've done HTML/JavaScript stuff (have to now - no web page designers in our dev group). I still wonder why the <html:form ... onsubmit="return validate()"> doesn't work - it should. Struts bug?
Mark -----Original Message----- From: Vincent Aumont [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 1:00 PM 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>