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

Allow a single option in a Choice activity

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.1.1, 2.2
    • Fix Version/s: 2.0.5, 2.1.2
    • Component/s: Choice
    • Labels:
    • Testing Instructions:
      Hide

      Create a choice - only fill in one answer and save - make sure it allows a single answer choice.

      Create a choice - don't fill in any answers - make sure it forces the use of one answer.

      Show
      Create a choice - only fill in one answer and save - make sure it allows a single answer choice. Create a choice - don't fill in any answers - make sure it forces the use of one answer.
    • Workaround:
      Hide

      Use a quiz with one question and chain the Conditional Activities off that, after you've messed about doing custom calculations on the Gradebook to exclude this response. Blah.

      Show
      Use a quiz with one question and chain the Conditional Activities off that, after you've messed about doing custom calculations on the Gradebook to exclude this response. Blah.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull Master Branch:
      master_MDL-28410

      Description

      At the moment there is a requirement that at least two options are given in a Choice activity.

      Having the option to have only one option would be handy for situations where students are required to submit a confirmation (for example) that they have read the terms and conditions of the course (or similar) when used in tandem with a Conditional Activity setup for the rest of the course.

      And yes, before anyone points it out, I do realise how naff a requirement this is, but I get asked how to do it quite often, and at the moment the only way is through a quiz, which is more complex and adds a record to the gradebook - a simple tweak to the Choice activity would make this much easier.

        Gliffy Diagrams

          Attachments

            Activity

            drex Mark Drechsler created issue -
            drex Mark Drechsler made changes -
            Field Original Value New Value
            Labels netspot
            salvetore Michael de Raadt made changes -
            Fix Version/s STABLE backlog [ 10463 ]
            Priority Minor [ 4 ] Critical [ 2 ]
            Labels netspot partner
            mblake Michael Blake made changes -
            Labels partner netspot partner
            moodle.com moodle.com made changes -
            Fix Version/s STABLE Sprint 12 [ 10850 ]
            Fix Version/s STABLE backlog [ 10463 ]
            salvetore Michael de Raadt made changes -
            Fix Version/s 2.1.2 [ 10851 ]
            Fix Version/s STABLE Sprint 12 [ 10850 ]
            danmarsden Dan Marsden made changes -
            Status Open [ 1 ] Waiting for integration review [ 10010 ]
            Testing Instructions Create a choice - only fill in one answer and save - make sure it allows a single answer choice.

            Create a choice - don't fill in any answers - make sure it forces the use of one answer.
            skodak Petr Skoda made changes -
            Currently in integration Yes
            skodak Petr Skoda made changes -
            Status Waiting for integration review [ 10010 ] Integration review in progress [ 10004 ]
            Integrator skodak
            skodak Petr Skoda made changes -
            Status Integration review in progress [ 10004 ] Reopened [ 4 ]
            danmarsden Dan Marsden made changes -
            Status Reopened [ 4 ] Waiting for integration review [ 10010 ]
            skodak Petr Skoda made changes -
            Priority Critical [ 2 ] Major [ 3 ]
            skodak Petr Skoda made changes -
            Status Waiting for integration review [ 10010 ] Integration review in progress [ 10004 ]
            skodak Petr Skoda made changes -
            Status Integration review in progress [ 10004 ] Waiting for testing [ 10005 ]
            rwijaya Rossiani Wijaya made changes -
            Status Waiting for testing [ 10005 ] Testing in progress [ 10011 ]
            Tester rwijaya
            rwijaya Rossiani Wijaya made changes -
            Status Testing in progress [ 10011 ] Tested [ 10006 ]
            skodak Petr Skoda made changes -
            Status Tested [ 10006 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            Currently in integration Yes
            Integration date 3/Aug/11
            stronk7 Eloy Lafuente (stronk7) made changes -
            Fix Version/s 2.0.5 [ 10950 ]
            Affects Version/s 2.1.1 [ 10750 ]
            Affects Version/s 2.2 [ 10656 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11