Re: Validation problem - form still submits after client-side validation fails.

2004-09-21 Thread James Mitchell
You do not need to submit the form if you are using an input type="image". That's what it does if it is pressed (unless the image is outside of the ... tags. Make sure your html:form has the proper onsubmit="return validateXYZForm()" (notice that 'return' will stop the page from submitting if vali

RE: Validation problem - form still submits after client-side validation fails.

2004-09-20 Thread David G. Friedman
Brian, To answer your question: > Both the client-side and the server-side validation > are executing instead of just the client-side. Set your action in struts-config.xml to validate="false". Your html:javascript will still work for the client-side validation but NOTHING will be done on the ser