commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [validator] Side effect of allowing multiple forms on the same page
Date Tue, 23 Mar 2004 13:37:05 GMT
Please open a bugzilla ticket for this bug so it doesn't get lost in the
mailing list.

Thanks,
David

--- Carlos_Sanchez <commons@carlos.cousas.net> wrote:
> The last commit of the javascript code allows multiple forms on the same
> page by generating a unique variable name based on form name, adding
> this
> line
> 
> oMinLength = eval('new ' + form.name + '_minlength()');
> 
> But if any field of the form is called "name" javascript validation
> doesn't
> work as form.name is an object, not a String
> 
> For example <html:text property="name"/> makes client side validation
> stop
> working
> 
> I post this message so nobody spends its time asking themselves why
> validation doesn't work anymore in some pages (as I have already done)
> 
> Affected files:
>
Jakarta-commons/validator/src/javascript/org/apache/commons/validator/javasc
> ript/*.js
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message