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

When enable choice with "restrict answering to this time period", when choice expires, there is no feedback and can confuse students

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5, 1.6, 1.7, 1.8
    • Fix Version/s: 1.9
    • Component/s: Choice
    • Labels:
      None
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      When enable the "restrict answering to this time period" in the CHOICE, when a choice expires, there is no feedback that the choice has expired and will not allow the user to vote any more.

      The page just removes the radio boxes and the submit button. So the choice only displays the instructions the instructor entered
      which may or may not give the students a clue as to what is going on with the choice. A lot of our students got confused.

      We have fixed this issue by adding this if statement to the /mod/choice/view.php after /// Print the form (at around line 90)

      if ($choice->timeclose != 0)

      { print_simple_box_start('center'); echo "<strong>Choice available starting:</strong> " . date("F d, Y h:i A", $choice->timeopen) . "<br>"; echo "<strong>Choice closes on:</strong> " . date("F d, Y h:i A", $choice->timeclose) . "<br>"; print_simple_box_end(); }

      If Martin feels appropriate I could commit this bug fix to the core. I also provided two screenshots for BEFORE and AFTER. Let me know what you think. Thanks!

        Attachments

        1. choice_layout.png
          choice_layout.png
          147 kB
        2. quiz_layout.png
          quiz_layout.png
          147 kB
        3. screenshot-1.jpg
          screenshot-1.jpg
          70 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08