Re: problem w.r.t javascript

2006-08-02 Thread Rauf Khan
Hi Velmurugan, Thanks for the link. Iam learning struts, after going through this link only iam able to modify my code. The code given in this site works fine. But the problem is in the "name field" modify depends="required, mask, minlength, maxlength", In "address field" modify depends="re

Re: problem w.r.t javascript

2006-08-01 Thread Rauf Khan
Hi, Iam doing client side validations. Let me explain the problem. All field are & using struts 1.1 case 1: Name :3456 Password : abc Email : def In case1, if i click the submit button with the respective values, iam getting alert msg "enter only characters for name" & "enter only numbe

Re: problem w.r.t javascript

2006-08-01 Thread Adam Gordon
Rauf- Are you doing client or server-side validation? Or both? W.R.T your multiple errors, there is an attribute you can set in your struts XML file, namely: | | Note that you must be using Struts >= 1.2.0 for this feature, though I believe prior to 1.2.0, the behavior was to al