Re: Client Side Validation with Struts

2008-03-31 Thread Lukasz Lenart
> Hello. I am using Struts 1.3.8. The issue is not one of making the > Javascript work (it is working correctly), but rather preventing a > Struts action from being called. Is this possible given that the > action of a form is a Struts action? I'm not sure if I understand you, but all you have

Re: Client Side Validation with Struts

2008-03-29 Thread Asad Habib
Hello. I am using Struts 1.3.8. The issue is not one of making the Javascript work (it is working correctly), but rather preventing a Struts action from being called. Is this possible given that the action of a form is a Struts action? - Asad On Sat, Mar 29, 2008 at 6:44 AM, Lukasz Lenart <[EMA

Re: Client Side Validation with Struts

2008-03-29 Thread Lukasz Lenart
Hi, Could you be more specific, which Struts version? If you use onsubmit event, you should do that like this: onsubmit="JavaScript: return validate();" where validate() has to return true or false. Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart --

Client Side Validation with Struts

2008-03-28 Thread Asad Habib
validation with Struts, do I need to use the validator? Any help would be appreciated. Thank you. - Asad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]