Is there any way I can do both client and server side validation using ValidatorActionForms without setting up two 'forms' in my validation xml? I'm having a problem doing client-side validation because all my action mappings start with '/' and it's causing the generated javascript function to have a name like 'validate/xxx' which, as far as I know is not valid syntax. Here's an example of my setup:
struts-config.xml: ... <action path="/validateContactInfo" type="config.admin.contactinfo.ValidateContactInfoAction" name="contactInfoForm" scope="request" input="tile.admin.contactInfo.editContactInfo"> <forward name="success" path="/displayContactInfo.do" /> </action> ... validation.xml: ... <formset> <form name="/validateContactInfo"> <field property="companyName" depends="required"> <arg0 key="contactInfo.companyName.displayName" /> </field> </form> </formset> The javascript output when I add <html:javascript formName="/validateContactInfo"/> to my jsp starts out like this: <!-- Begin var bCancel = false; function validate/validateContactInfo(form) { ... Which gives me a javascript error. Am I missing something? -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>