Well i have to set validate false of the action in the struts-config.xml,
then i only have client side validation without submitting,
but then i have to call the .validate Method in the action to do the
server-side validation, if i disable JavaScript.
Any more ideas to this problem ?
- Orig
Make sure you you have the return statement in the onsubmit handler.
Otherwise it will always submit the form.
It needs to look like this: onsubmit="return validateFooForm(this)"
If that's not the problem, you may be trying to validate using an
incorrect field name. That's happened to me a few ti
2 matches
Mail list logo