Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32335

Text fields marked as "required" are not mandatory in IE 7-9 nor Safari browsers

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2
    • Fix Priority:
      4

      Description

      Reproduced in 6.1.x rev. 134345
      Reproduced in Trunk rev. 134035

      Steps to reproduce:
      1. Start Portal
      2. Create portlet with 2 required fields.
      3. Add portlet to page.
      4. Both fields of the portlet are required.
      5. Only fill in one and click Submit.

      Results:
      Expected: You should not be allowed to submit and an error should
      tell you to fill in both require fields.

      Actual: This is true for Firefox and Chrome.
      However in IE7-9, you are able to submit if only one (or none) of the fields are filled in.
      See attached images for results.

      IE 7-9 (and I believe Safari as well) can't recognize the HTML5 "required" attribute, so there should be an AUI workaround for those browsers. Otherwise, we'll have to write javascript validation code every time.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pani.gui Pani Gui (Inactive)
                Reporter:
                jeffrey.tuason Jeffrey Tuason (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 36 weeks, 6 days ago