As you suggested, setting validate to false worked. Strange it has never happened with any other forms in my app. Thanks for your help
Ciaran -----Original Message----- From: ksitron [mailto:[EMAIL PROTECTED] Sent: 15 June 2004 17:59 To: Ciaran Hanley Subject: Re: Form Validation Before Submit Can you post the section of struts-config where this particular action is defined Ciaran Hanley wrote: This is not the case with my struts config, I have other forms which are much more complex which work fine in the app yet this much simpler one attempts to validate before any data is even entered yet I cannot figure it out. Ciaran -----Original Message----- From: ksitron [mailto:[EMAIL PROTECTED] Sent: 15 June 2004 17:02 To: Struts Users Mailing List Subject: Re: Form Validation Before Submit In your struts-config.xml, if you have the validate="true" set. Then, the validate method of your form will be called before your action.execute method is called. Ciaran Hanley wrote: 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 -- Kevin J Citron Sr. Object Imagineer Optimized Objects, Inc. EL Paso, Texas 79930 (915) 565-7785/566-2403