Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37417 Question editing forms improvements
  3. MDL-38094

Question editing forms should not add more repeat elements until requested

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.4
    • Questions
    • MOODLE_24_STABLE
    • MOODLE_25_STABLE
    • Hide

      Go to the quesion bank in any course.

      For each of these question types repeat the following steps.

      • Multiple-choice
      • Short-answer
      • Numerical
      • Matching
      • The three Calculated question types

      1. Click to create a new question.
      2. Verify that there are a sensible number of blanks provded for you to input your choices / answers / units / subquestions.
      3. Write your question and save it.
      4. Re-edit the question.
      5. Click the 'Blanks for ... more ...' button.
      6. For some qtypes, do acutally add more things, and in other cases, leave the new fields blank, or even delete some of the existing things.
      7. Save the editing question.
      8. Click the edit icon again, and check the form, just to make sure your edits were saved accurately.

      Show
      Go to the quesion bank in any course. For each of these question types repeat the following steps. Multiple-choice Short-answer Numerical Matching The three Calculated question types 1. Click to create a new question. 2. Verify that there are a sensible number of blanks provded for you to input your choices / answers / units / subquestions. 3. Write your question and save it. 4. Re-edit the question. 5. Click the 'Blanks for ... more ...' button. 6. For some qtypes, do acutally add more things, and in other cases, leave the new fields blank, or even delete some of the existing things. 7. Save the editing question. 8. Click the edit icon again, and check the form, just to make sure your edits were saved accurately.

      Suppose you have a multiple choice question with 5 choices, and you click to edit it. Then the form will be displayed with space for 8 choices, as if the 'Blanks for 3 more choices' button had already been clicked once.

      This is almost always useless. Adding a new choice is a rare edit. In addition, some people have got confused by this, and it makes the form even more daunting that it needs to be.

      The down-side is that in the rare case when you want more choices, you have to click and wait for another page load.

      On balance, we should remove the extra fields until the add more button is clicked.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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