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

Form does not get focus when error field is in collapsed section

XMLWordPrintable

    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-49783-master
    • Hide
      1. Go to course and add a quiz
      2. On a quiz add page fill in just the name
      3. Expand the "Grade" section and type some text into grade to pass field (if you're on Chrome and save passwords the field could be filled with a username already)
      4. Collapse the section
      5. Submit the form
        • The collapsed section with an error should expand and form should be focused on the grade error

      Try this also on different forms with different fields and make sure that everytime a collapsed section that contains error, it's expanded and focused

      Show
      Go to course and add a quiz On a quiz add page fill in just the name Expand the "Grade" section and type some text into grade to pass field (if you're on Chrome and save passwords the field could be filled with a username already) Collapse the section Submit the form The collapsed section with an error should expand and form should be focused on the grade error Try this also on different forms with different fields and make sure that everytime a collapsed section that contains error, it's expanded and focused
    • Team Beards Sprint 6

      When creating a new activity and there's an error in the field which is in collapsed section and user tries to save the form, nothing happpens. It would be nice to expand the section with error and focus on it. This sometimes happens when browsers autocomplete sections, which are not even expanded by user, who's then confused, because the form won't submit and nothing happens.

            mastnym Martin Mastny
            mastnym Martin Mastny
            Damyon Wiese Damyon Wiese
            Andrew Lyons Andrew Lyons
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.