Re: Validator: "required field" errors displayed before form is submitted

2001-09-20 Thread David Winterfeldt
Are you going directly to the JSP page or are you going through an action? I suspect you are going through an action and you have 'validate="true"'. This would cause the page to be validated before it was actually submitted. So you could either go directly to a JSP or have 'validate="false"' an

Validator: "required field" errors displayed before form is submitted

2001-09-20 Thread Greg Wilson
I've written a small login/password app using Struts and Validator. The client & server side validation is working well, except for one thing: the "required field" error messages (i.e. User Name is required) are displayed when the page is first displayed. I've attached the HTML that is generated