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

Forms on submit does not take user to required field for Select from List

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.2.10 DXP FP7
    • Fix Version/s: 7.2.X
    • Component/s: Forms
    • Labels:
    • Fix Priority:
      3

      Description

      Description: If a form is long enough, or the users window is small enough, when submitting a form with Select from List as a required field, it can appear that nothing has happened. This is because there is a field in the form that is not visible that has validation that the entry is not passing. The form does not bring the user to the top most field needing attention. The user thinks the submit just didn't work.

      Steps to Reproduce:
      1. Start up 7.2 dxp-7
      2. Create a new Form with a required Select from List field at the top and multiple options field below
      3. Add form to site page
      4. Scroll down and/or minimize window so that required Select from List field is no longer visible
      5. Click Submit
      Expected Behavior: User is shown required Select from List field
      Actual Behavior: It looks like nothing happens, but when you scroll up to the required Select from List field, you see that it is required

      Testing:
      Reproduced in 7.2.x - 2442ed1e976ae247c80ff938d658cf1413e52f0d
      Reproduced in master - d6df8c1c1a7c72314b51dff63c6c886f44e50107

        Attachments

          Activity

            People

            Assignee:
            rafaella.jordao Rafaella Jordao
            Reporter:
            joao.martins Joao Martins
            Participants of an Issue:
            Recent user:
            Rafaella Jordao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              10 weeks, 1 day ago

                Packages

                Version Package
                7.2.X