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=14471>. 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=14471 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #3820 is|0 |1 obsolete| | Attachment #8263 is|0 |1 obsolete| | ------- Additional Comments From [EMAIL PROTECTED] 2004-12-09 22:24 ------- Created an attachment (id=13713) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=13713&action=view) JS Validation skips fields that are not present. The attachment contains an update to the javascript methods. There are three main changes: 1) Absent fields are skipped over. For most methods, this line has been added: if (!isFieldPresent(field)) { continue; } ...Except for the validateRequired method, which by its nature demands that absent required fields generate an error response. 2) Focus is not set to fields that are absent, hidden, or disabled: if(isFieldFocusable(focusField)) { focusField.focus(); } 3) Two new methods in validateUtilities: isFieldPresent and isFieldFocusable These changes are intended to patch this problem in the 1.1.x branch of Validator. I know Niall (see comment #13) is working on some hefty changes that solve the problem too, but that may end up in 1.2? I don't know. I am just looking for a simple fix. Thanks! -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]