You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Xavier Poinsard (JIRA)" <ji...@apache.org> on 2006/09/27 13:53:50 UTC

[jira] Created: (VALIDATOR-201) jcv_retrieveFormName pb with IE 5.5 and form containing an html select named id

jcv_retrieveFormName pb with IE 5.5 and form containing an html select named id
-------------------------------------------------------------------------------

                 Key: VALIDATOR-201
                 URL: http://issues.apache.org/jira/browse/VALIDATOR-201
             Project: Commons Validator
          Issue Type: Bug
          Components: JavaScript
    Affects Versions: 1.3.0 Release
         Environment: Using IE 5.5 (on Windows 2000) and trying to validate an html form containing  an html select named id
            Reporter: Xavier Poinsard


Using IE 5.5  and trying to validate an html form containing  an html select named id,
the jcv_retrieveFormName is confused and return the html select instead of the form name.

I get it working by checking the id was a string by replacing (in validateUtilities.js)
 if (form.getAttribute("id")) {
by
 if (form.getAttribute("id") && form.getAttribute("id") instanceof String) {



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (VALIDATOR-201) jcv_retrieveFormName pb with IE 5.5 and form containing an html select named id

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/VALIDATOR-201?page=all ]

Niall Pemberton resolved VALIDATOR-201.
---------------------------------------

    Resolution: Won't Fix

Better to not name fields "id" (or "name"). Also one of the reasons for refactoring the validator script functions to use common functions like jcv_retrieveFormName() means that you can easily "plug" in a modified version that suits your needs.

Closing as WONTFIX

> jcv_retrieveFormName pb with IE 5.5 and form containing an html select named id
> -------------------------------------------------------------------------------
>
>                 Key: VALIDATOR-201
>                 URL: http://issues.apache.org/jira/browse/VALIDATOR-201
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 1.3.0 Release
>         Environment: Using IE 5.5 (on Windows 2000) and trying to validate an html form containing  an html select named id
>            Reporter: Xavier Poinsard
>
> Using IE 5.5  and trying to validate an html form containing  an html select named id,
> the jcv_retrieveFormName is confused and return the html select instead of the form name.
> I get it working by checking the id was a string by replacing (in validateUtilities.js)
>  if (form.getAttribute("id")) {
> by
>  if (form.getAttribute("id") && form.getAttribute("id") instanceof String) {

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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