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

Quiz: allow the displayed question numbers to be customised

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • Hide
      1. Create a course
      2. create a quiz
      3. Create several questions including 1 or 2 descriptions
      4. Go to quiz editing page and add the questions to the quiz
      5. On the editing page verify that:
        • The real question numbers are editable and showing the automated numbering (1, 2, 3, ...)
        • Descriptions (indicated with 'i') are not editable
        • Question numbers can be edited from 1, 2, 3, ... to something like A1, A2, B1, ...
        • When the customised numbers are deleted (set to empty strings), the original automated numbering are replace automatically.
        • When question numbers are customised and question within the sections are set to be shuffled a warning is displayed.
      6. When previewing the quiz, verify that:
        • The customised numbers are showing in question information box.
        • The customised numbers are showing in the question navigation panel.
      Show
      Create a course create a quiz Create several questions including 1 or 2 descriptions Go to quiz editing page and add the questions to the quiz On the editing page verify that: The real question numbers are editable and showing the automated numbering (1, 2, 3, ...) Descriptions (indicated with 'i') are not editable Question numbers can be edited from 1, 2, 3, ... to something like A1, A2, B1, ... When the customised numbers are deleted (set to empty strings), the original automated numbering are replace automatically. When question numbers are customised and question within the sections are set to be shuffled a warning is displayed. When previewing the quiz, verify that: The customised numbers are showing in question information box. The customised numbers are showing in the question navigation panel.

      If the teacher needs to, it should be possible to change the default 1, 2, 3 question numbers to any other short strings that you like. Here is a mock-up:

      While this is occasionally necessary (for example, to match the setup of an external test you want to replicate in Moodle) this will be a rarely-used advanced feature, so it should be easy to ignore for users who are not interested in it.

      Some notes on how this will be implemented:

      • The customised question number will be stored in a new CHAR(16) column in the quiz_slots table called displaynumber. This will default to null, meaning use the default 1, 2, 3 numbering.
      • When attempting/previewing the quiz, the customised number will be displayed.
      • On the 'Questions' page there will be a visual indication of which numbers have been customised and which are default
      • The number will be come an in-place editable widget, allowing the number to be changed.
      • If the number is customsied, there will be a delete icon, to remove the customisation.
      • If the section is shuffled, it will not be possible to customise the numbers in that section. (If people want more than this, that can be added in future Improvements, but it is out-of-scope here.)

        1. 74609.mov
          15.26 MB
        2. boost.gif
          boost.gif
          462 kB
        3. classic.gif
          classic.gif
          691 kB
        4. custom-display-number-gone-page-break.png
          custom-display-number-gone-page-break.png
          28 kB
        5. custom-label-overflows-in-navigation.png
          custom-label-overflows-in-navigation.png
          92 kB
        6. error_when_editing.png
          error_when_editing.png
          282 kB
        7. image-2022-09-09-16-47-38-811.png
          image-2022-09-09-16-47-38-811.png
          1.10 MB
        8. inplaceeditable_style_issues.png
          inplaceeditable_style_issues.png
          73 kB
        9. inplaceeditablecolor.png
          inplaceeditablecolor.png
          80 kB
        10. MDL-74609_app_error.png
          MDL-74609_app_error.png
          257 kB
        11. mockup.png
          mockup.png
          13 kB
        12. qnc_attempt1.PNG
          qnc_attempt1.PNG
          30 kB
        13. qnc_attempt2.PNG
          qnc_attempt2.PNG
          30 kB
        14. qnc_edit1.PNG
          qnc_edit1.PNG
          40 kB
        15. qnc_edit1-1.PNG
          qnc_edit1-1.PNG
          40 kB
        16. qnc_edit2.PNG
          qnc_edit2.PNG
          41 kB
        17. qnc_edit2-1.PNG
          qnc_edit2-1.PNG
          41 kB
        18. qnc_edit3.PNG
          qnc_edit3.PNG
          38 kB
        19. qnc_edit3-1.PNG
          qnc_edit3-1.PNG
          38 kB
        20. quiz-navigation-issue.png
          quiz-navigation-issue.png
          30 kB

            mkassaei Mahmoud Kassaei
            timhunt Tim Hunt
            Tim Hunt Tim Hunt
            Andrew Lyons Andrew Lyons
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 9 minutes
                1d 3h 9m

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