Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-80

[validator] All validation fails when "name" attribute in form not specified

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0 Release
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      35294

      Description

      All validation fails when "name" attribute in a <form> is not specified. If
      a "name" attribute is not specified, the JavaScript should query the "id"
      property's value as it is legal for the "id" to be specified with the "name"
      left out (XHTML Strict).

      An example of this problem coming up is when the <html:xhtml/> is specified
      when using Struts. See All validation fails when "name" attribute in a <form> is not specified. If
      a "name" attribute is not specified, the JavaScript should query the "id"
      property's value as it is legal for the "id" to be specified with the "name"
      left out (XHTML Strict).

      An example of this problem coming up is when the <html:xhtml/> is specified
      when using Struts. See Bug 35127.

      A patch fixing this problem is supplied. It checks the id attribute if the
      name attribute is not specified..

      A patch fixing this problem is supplied. It checks the id attribute if the
      name attribute is not specified.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zarar.siddiqi@utoronto.ca Zarar Siddiqi
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: