Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6854

Questionnaire - Non enforcement of mandatory questions for child questions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.2
    • Fix Version/s: None
    • Component/s: Module: Questionnaire
    • Labels:
      None
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      When creating a Rate Scale question in Moodle (consisting of multiple statements), the "response is required" stipulation is not enforced if the Scale is a 'child' of a 'branching' question. To recreate

      • Q1 (y/n) "Do you like cars?"
      • Q2 (Rate Scale). Please rate the following between 1-5
        • Nb of scale items = 5
        • Type = Normal
        • Response Required = YES
        • Question: Rate the following
        • Possible answers
          • 5=Very True
            4=True
            3=No opinion
            2=False
            1=Rubbish
            I like red cars
            I get road rage
            My car has air-con
            My car uses petrol

       

       

      Although Q2 is mandatory, a user can still submit the questionnaire without answering it. 

       

      Running on Moodle 3.2.2

      Original forum post below: https://moodle.org/mod/forum/discus

        Attachments

          Activity

            People

            • Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: