We tried the same thing by just specifying the "minlength" for test purpose. But it didn't work. --> depends="minlength"> and removed the stuff for maxlength.
-----Original Message----- From: bachan s [mailto:bachan_anand@;yahoo.com] Sent: Thursday, October 24, 2002 2:39 PM To: Struts Users Mailing List Subject: Re: JavaScript Validation: MinLength & MaxLength Functions Don't Work Can you try removing the required from the depends for password and give minlength and maxlength. Since minLength is mentioned required is not necesary. Try it and let ue know. this may be considered as a bug in struts too. Thanks ! Bachan "Nekkalapudi, Viplava" <[EMAIL PROTECTED]> wrote: My team can't get the Struts client-side (i.e. JavaScript) validation framework to work. We want to ensure that a password is between 6 and 30 characters. Has anyone been able to get these checks to work? The "required" field check works, but the "minlength" and "maxlength" do not. Here's what our validation.xml file contains: depends="required"> depends="required,minlength,maxlength"> minlength 6 maxlength 30 Thanks, JOHN -- To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>