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

Incomplete subanswers in Cloze question does not show their incomplete state

    XMLWordPrintable

Details

    • Bug
    • Status: Development in progress
    • Minor
    • Resolution: Unresolved
    • 2.7.5, 2.8.1
    • None
    • Quiz
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • Hide

      Create a multianswer question using the
      https://docs.moodle.org/28/en/Embedded_Answers_%28Cloze%29_question_type#Example_2
      or a simpler version


      This question consists of

      A shortanswer question.

      Write moodle in upper case letters

      {1:SHORTANSWER_C:moodle#Feedback for moodle in lower case ~=MOODLE#Feedback for MOODLE in upper case ~%50%Moodle#Feedback for only first letter in upper case}

      A numerical

      How many days in a week?

      {3:NUMERICAL:=7:.1}

      A multichoice in a select element

      {1:MULTICHOICE:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer}

      The multichoice question in the vertical display

      of the standard moodle multiple choice.

      {2:MCV:1. Wrong answer#Feedback for this wrong answer~2. Another wrong answer#Feedback for the other wrong answer~=3. Correct answer#Feedback for correct answer~%50%4. Answer that gives half the credit#Feedback for half credit answer}

      Or in an horizontal display

      {2:MCH:a. Wrong answer#Feedback for this wrong answer~=b. Correct answer#Feedback for correct answer~%50%c. 50% Answer #Feedback for half credit answer}

      Preview using Interactive with multiple tries.
      Don't fill any response and click on Check.
      All the subquestions should not show any changes but a red message at the bottom
      "Please answer all parts of the question."
      see MDL-49251_num_1.jpg
      This is same output than MDL-49041.
      Apply the code proposal (MDL-49250)

      Add a letter i.ee. a in the numerical subquestion and click on check button.
      the input field will be red with the letter a :
      "You must enter a valid number" should be displayed in the mouse over. See: MDL-49251_num_2.jpg

      Add a number containing a thousandsep i.e. , in english as 7,0 and click on check button.
      "Please enter your answer without using the thousand separator (,)." should be displayed in the mouse over. See: MDL-49251_num_3.jpg

      Add the correct response as 7.0. It will appears in normal white input field without any message. See MDL-49251_num_4.jpg
      You have to fill the other subquestions to get the complete graded display. See MDL-49251_num_5.jpg

      Show
      Create a multianswer question using the https://docs.moodle.org/28/en/Embedded_Answers_%28Cloze%29_question_type#Example_2 or a simpler version This question consists of A shortanswer question. Write moodle in upper case letters {1:SHORTANSWER_C:moodle#Feedback for moodle in lower case ~=MOODLE#Feedback for MOODLE in upper case ~%50%Moodle#Feedback for only first letter in upper case} A numerical How many days in a week? {3:NUMERICAL:=7:.1} A multichoice in a select element {1:MULTICHOICE:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} The multichoice question in the vertical display of the standard moodle multiple choice. {2:MCV:1. Wrong answer#Feedback for this wrong answer~2. Another wrong answer#Feedback for the other wrong answer~=3. Correct answer#Feedback for correct answer~%50%4. Answer that gives half the credit#Feedback for half credit answer} Or in an horizontal display {2:MCH:a. Wrong answer#Feedback for this wrong answer~=b. Correct answer#Feedback for correct answer~%50%c. 50% Answer #Feedback for half credit answer} Preview using Interactive with multiple tries. Don't fill any response and click on Check. All the subquestions should not show any changes but a red message at the bottom "Please answer all parts of the question." see MDL-49251 _num_1.jpg This is same output than MDL-49041 . Apply the code proposal ( MDL-49250 ) Add a letter i.ee. a in the numerical subquestion and click on check button. the input field will be red with the letter a : "You must enter a valid number" should be displayed in the mouse over. See: MDL-49251 _num_2.jpg Add a number containing a thousandsep i.e. , in english as 7,0 and click on check button. "Please enter your answer without using the thousand separator (,)." should be displayed in the mouse over. See: MDL-49251 _num_3.jpg Add the correct response as 7.0. It will appears in normal white input field without any message. See MDL-49251 _num_4.jpg You have to fill the other subquestions to get the complete graded display. See MDL-49251 _num_5.jpg

    Description

      This is a follow up of solving MDL-49041 so that an incomplete Cloze ( multianswer) question detects its incomplete state i.e. when used in the Intercactive mode and display a message "Please answer all parts of the question."
      However there is no message from the incomplete subquestions.

      Attachments

        1. 49251_1.jpg
          49251_1.jpg
          123 kB
        2. 49251_10.jpg
          49251_10.jpg
          150 kB
        3. 49251_4.jpg
          49251_4.jpg
          131 kB
        4. 49251_7.jpg
          49251_7.jpg
          138 kB
        5. 49251_9.jpg
          49251_9.jpg
          131 kB
        6. Allqtypes.jpg
          Allqtypes.jpg
          168 kB
        7. MDL-49251_num_1.jpg
          MDL-49251_num_1.jpg
          164 kB
        8. MDL-49251_num_2.jpg
          MDL-49251_num_2.jpg
          167 kB
        9. MDL-49251_num_3.jpg
          MDL-49251_num_3.jpg
          171 kB
        10. MDL-49251_num_4.jpg
          MDL-49251_num_4.jpg
          148 kB
        11. MDL-49251_num_5.jpg
          MDL-49251_num_5.jpg
          175 kB
        12. valid_number.png
          valid_number.png
          93 kB

        Activity

          People

            Unassigned Unassigned
            ppichet Pierre Pichet
            Tim Hunt Tim Hunt
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: