commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32343] - [validator] Javascript Rendering Extension
Date Thu, 02 Dec 2004 05:22:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32343>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32343





------- Additional Comments From niallp@apache.org  2004-12-02 06:22 -------
Nacho,

I spent some time looking at your suggestion.

Catering for multiple fields with the same name breaks down the way you're 
suggesting because all the values are put into one array. If for example a 
second "text" field was invalid, focus would still be set to the first field. I 
thought about iterating over the fields and validaing each to overcome this - 
but that won't work for radios.

I came to the conclusion that having a restriction that fields on a form should 
be named differently is reasonable. In the case of radio fields that are named 
the same - the javascript validation seems to work fine (the "Tag Examples" has 
radio button example).

I'm not going to do anything about this, but if this gets into Commons 
Validator - you can always raise a bug ticket for this and maybe yourself or 
someone else will come up with a way/patch that makes this work and worthwhile.

Thanks anyway for your input.

Niall



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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