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

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

    Details

      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

      Note: 
      This issue also occurs in these other fields:
      Select from list
      Single Selection
      Multiple Selection
      Grid
      Date
      Image
      Rich Text
      Upload
      Color

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              guilherme.vilarim Guilherme Vilarim
              Reporter:
              joao.martins Joao Martins
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Joao Martins
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                16 weeks, 2 days ago

                  Packages

                  Version Package
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  Master