Martin, The only JavaScript I have in this particular form is that which is generated with Struts validator
<html:javascript formName="detailsForm" /> The xml for this is just text box validation <form name="detailsForm"> <field property="detailsAmount" depends="required"> </field> <field property="detailsDateDay" depends="required"> </field> <field property="detailsDateMonth" depends="required"> </field> <field property="detailsDateYear" depends="required"> </field> </form> Ciaran -----Original Message----- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 15 June 2004 16:09 To: [EMAIL PROTECTED] Subject: Re: Form Validation Before Submit Ciaran- Sounds like you may possibly have key or mouse events hooked to JavaScript? Could you display for us the entire Form Header (specifically the JavaScript portion) for us? Gura mie ayd, Martin ----- Original Message ----- From: "Ciaran Hanley" <[EMAIL PROTECTED]> To: "Struts User Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, June 15, 2004 10:44 AM Subject: Form Validation Before Submit Hello, I have a simple form in my application which I am having trouble with. On entering the action class and forwarding to the JSP I see error messages which should only appear when the form has been validated after submitting. I cannot figure out why this is appearing as all that is called inside the action class is a mapping.findForward() to the page in question. Can anybody suggest any possible reasons as to why I am seeing the form error messages before submitting. Thanks, CH --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]