Moodle

clear answer choice in multiple choice

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.5
  • Fix Version/s: None
  • Component/s: Questions
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_15_STABLE

Description

When using multiple answer question with single answer option then radio buttons appear in the quiz accordingly. There should be answer deletion for such questions.

I use penalty for wrong answer, so no answer is better than wrong answer.

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

From Gustav Delius (gwd2 at york.ac.uk) Monday, 24 April 2006, 03:39 PM:

Yes, indeed, there should be a way for the student to clear both radio buttons.

Show
Martin Dougiamas added a comment - From Gustav Delius (gwd2 at york.ac.uk) Monday, 24 April 2006, 03:39 PM: Yes, indeed, there should be a way for the student to clear both radio buttons.
Hide
Yolanda Ordoñez Rufat added a comment -

We recently implement this for the version 1.9.5
I've attached a patch file for the question types multichoice, true/false and cloze (multianswer) . Those are the ones with radio buttons.

I hope this will be helpful until the recode for the whole quiz/question bank is done.

Show
Yolanda Ordoñez Rufat added a comment - We recently implement this for the version 1.9.5 I've attached a patch file for the question types multichoice, true/false and cloze (multianswer) . Those are the ones with radio buttons. I hope this will be helpful until the recode for the whole quiz/question bank is done.
Hide
Tim Hunt added a comment -

I'm afraid this patch is not good enough to go into Moodle. Some reasons

1. Displays the button even if JavaScript is disabled, but in that case the button does not work.

2. Puts inline JavaScript in the HTML, rather that putting it in a .js file

3. Duplicates essentially the same code in several places.

4. Uses a mixture of tabs and spaces for indent.

I suggest you read the Moodle coding guidelines http://docs.moodle.org/en/Development:Coding, particularly the sections on coding style and JavaScript.

But thank you for trying to contribute to Moodle.

Show
Tim Hunt added a comment - I'm afraid this patch is not good enough to go into Moodle. Some reasons 1. Displays the button even if JavaScript is disabled, but in that case the button does not work. 2. Puts inline JavaScript in the HTML, rather that putting it in a .js file 3. Duplicates essentially the same code in several places. 4. Uses a mixture of tabs and spaces for indent. I suggest you read the Moodle coding guidelines http://docs.moodle.org/en/Development:Coding, particularly the sections on coding style and JavaScript. But thank you for trying to contribute to Moodle.

People

Vote (2)
Watch (2)

Dates

  • Created:
    Updated: