Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52998

Form validation scroll to first error

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Forms Library, Usability
    • Labels:
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      When form validation fails it can be a bit unclear to the user. For example:

      1. Add a file resource without completing the name field.
      2. Click one of the save buttons.

      Result:

      On most screens the page refreshes but remains scrolled to the bottom where the error is not visible. It would be a usability improvement if the page scrolled to the first error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                amanda.doughty Amanda Doughty
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie, Barbara Ramiro, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: