Re: prevent validation of disabled fields on the JSP page

2006-02-11 Thread Laurie Harper
Madhav Bhargava wrote: Hi All, I have a JSP page where on the select of a radio button some controls are disabled/enabled. The form bean associated with this JSP extends ValidatorForm. I have created rules in validation-xml for each of these controls which are there on the screen. One rule that

Re: prevent validation of disabled fields on the JSP page

2006-02-10 Thread Madhav Bhargava
Unfortunately i am using Struts 1.1 and commons-validator 1.0 On 2/10/06, Vladislav Pernin <[EMAIL PROTECTED]> wrote: > Which version of commons-validator are you using. > > I'm using Struts 1.2.8 and commons-validator 1.2.0, it validate only the > non disabled field. > >

Re: prevent validation of disabled fields on the JSP page

2006-02-10 Thread Vladislav Pernin
Which version of commons-validator are you using. I'm using Struts 1.2.8 and commons-validator 1.2.0, it validate only the non disabled field. Extracted from commons-validator.jar : function validateRequired(form) { var isValid = true; var focusField = nu

prevent validation of disabled fields on the JSP page

2006-02-10 Thread Madhav Bhargava
Hi All, I have a JSP page where on the select of a radio button some controls are disabled/enabled. The form bean associated with this JSP extends ValidatorForm. I have created rules in validation-xml for each of these controls which are there on the screen. One rule that is common to all the cont