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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0 Release
    • None
    • None
    • Operating System: All
      Platform: All

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: