commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Sanchez <>
Subject [validator] Side effect of allowing multiple forms on the same page
Date Sun, 21 Mar 2004 17:23:45 GMT
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

oMinLength = eval('new ' + + '_minlength()');

But if any field of the form is called "name" javascript validation doesn't
work as is an object, not a String

For example <html:text property="name"/> makes client side validation stop

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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message