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

Pressing enter when answering a short answer question can submit the wrong one

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.7, 1.7.1, 1.8, 1.9
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Questions, Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      On a quiz page, if there are more than one questions where the input is a text field (as in SHORTANSWER questions), pressing the Enter key will submit the whole form, which is not a good idea. Look at this scenario.

      Quiz settings: Adaptive mode Yes. / Students may review everything at any time, except for the correct answers (only available after quiz is closed).
      Quiz with 2 shortanswer questions on page, Q1 and Q2

      Student enters nothing in Q1 but enters a response in Q2, and then presses the Enter key
      Moodle reaction -> Only Q1 is analysed, it is found empty and is graded accordingly, this message is displayed:
      Incorrect
      Marks for this submission: 0/1. This submission attracted a penalty of 0.1.
      Nothing is displayed concerning Q2 where the student entered his response... which is puzzling to him.
      It looks to me that in fact pressing the Enter key is equivalent to clicking the Submit page button.
      Of course the students should be told NOT to use the Enter key to submit their responses but to click the individual Submit buttons but... it would be better is this was taken care of by the program itself!

      I do hope some solution will be found for this problem, if not for 1.7 at least for 1.8 or 1.9 versions,

      Joseph

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            rezeau Joseph Rézeau
            Tester:
            Nobody
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Oct/07