Hi I have been having trouble with client side validation for some time. I am not sure if this usage case has been reported before, or even if this is the right place to report it, as it is an old problem from webwork.
On experimenting with the quiz_client.jsp in the showcase application I found that if I changed the form tag to include an action attribute, then the javascript for the form validation was not generated. This was also the case when I switched to using freemarker rather than jsp. i.e. <s:form method="post" validate="true" action="quizClient.action"> <s:textfield label="Name" name="name"/> <s:textfield label="Age" name="age"/> <s:textfield label="Favorite color" name="answer"/> <s:submit/> </s:form> or [EMAIL PROTECTED] method="post" validate="true"] [EMAIL PROTECTED] label="Name" name="name"/] [EMAIL PROTECTED] label="Age" name="age"/] [EMAIL PROTECTED] label="Favorite color" name="answer"/] [EMAIL PROTECTED]/] [/@s.form] So a simple work around for some of the client validation problems would be to only supply the action attribute when absolutely necessary. I hope that this will be of some use. Nick Tucker -- View this message in context: http://www.nabble.com/-S2--client-validation-problem-tf2902376.html#a8108947 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]