Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 45774 invoked from network); 2 Dec 2004 05:22:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Dec 2004 05:22:15 -0000 Received: (qmail 35411 invoked by uid 500); 2 Dec 2004 05:22:11 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 35341 invoked by uid 500); 2 Dec 2004 05:22:11 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 35313 invoked by uid 99); 2 Dec 2004 05:22:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 21:22:10 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id iB25M76h025332 for ; Thu, 2 Dec 2004 06:22:07 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id iB25M7H5025330; Thu, 2 Dec 2004 06:22:07 +0100 Date: Thu, 2 Dec 2004 06:22:07 +0100 Message-Id: <200412020522.iB25M7H5025330@ajax.apache.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 32343] - [validator] Javascript Rendering Extension X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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