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

Client side mform validation ignored in the Boost theme

    XMLWordPrintable

Details

    • 5
    • 4.0 holding pattern 2

    Description

      Steps to reproduce

      1. Prepare a feedback with Numerical question on the first page (set as required) and Short text answer on the second page (also set as required).
      2. As a student, start answering the feedback.
      3. Without filling a value into the fields, attempt to navigate to the next page or submit the feedback.

      Expected result: Client side navigation should display the "Required" warning and the actual page reload should be cancelled (works like that under the Clean theme)

      Actual behaviour: The "Required" warning is displayed, yet the browser still reloads the page which triggers the server-side validation. Notice the console error.

      It seems to be Feedback specific as text fields validation normally works elsewhere.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mudrd8mz David Mudrák (@mudrd8mz)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 minute
                  1m

                  Clockify

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