Picture of Ulrich Kerzel
V2: MCQ component: Feedback and more than one item selectable?
by Ulrich Kerzel - Tuesday, 4 August 2015, 12:17 PM
 

Dear all,

 

I've now started to work with V2 of the framework (congratulations on the effort, it's really great).

 

I've copied the MCQ example over to my template course I'm putting together - see below.

I'm a bit stuck on 2 questions:

- how do I enable the feedback? The course page shows a button "show feedback" but it's greyed out and the feedback text doesn't appear. Do I need to enable this somewhere else?

- Does the component work with more than one item to be selected? it works fine the way it is (ie one correct answer) but if I try to set  "_selectable": 2, and add a second "true" answer, the component doesn't behave properly: It works doesn't offer to reset the answers or to select different answers

 

Many thanks for your help in advance

 

best wishes

Ulrich

 

 

 

{
"_id":"L1_co03_a01_b01_c01",
"_parentId":"L1_co03_a01_b01",
"_type":"component",
"_component": "mcq",
"_classes": "",
"_layout": "left",
"_attempts": 2,
"_questionWeight": 1,
"_canShowModelAnswer": true,
"_shouldDisplayAttempts": false,
"_isRandom": true,
"_selectable": 1,
"title": "Multiple Choice Question",
"displayTitle": "Multiple Choice Question",
"body": "Question goes here ...",
"instruction": "Choose one or more options and select Submit.",
"_items": [
{
"text": "A (true)",
"_shouldBeSelected": true
},
{
"text": "B (false)",
"_shouldBeSelected": false
},
{
"text": "C (false)",
"_shouldBeSelected": false
},
{
"text": "D (false)",
"_shouldBeSelected": false
}
],
"_feedback": {
"correct": "Correct feedback text.<br><br>That’s correct.",
"_incorrect": {
"final": "Incorrect feedback text.<br><br>That’s not right."
}
},
"_pageLevelProgress": {
"_isEnabled": true
}

},

Picture of Matt Leathes
Re: V2: MCQ component: Feedback and more than one item selectable?
by Matt Leathes - Tuesday, 4 August 2015, 2:17 PM
 

The show feedback button only becomes active once the user has submitted their answer and then closed the feedback popup.

Note that if you're also setting the question to have more than one correct response, you'll also need to add _partlyCorrect to the json, otherwise the question will be marked but the feedback won't be shown.

Personally I think this should be changed so that if no partly correct feedback is found, the incorrect feedback is used instead. If you agree, please vote for this ticket I've just created: https://adaptlearning.atlassian.net/browse/ABU-1021

Also, please note that in an assessment article, there's a setting in articles.json that controls whether feedback is shown for questions in the assessment or not.

Picture of Ulrich Kerzel
Re: V2: MCQ component: Feedback and more than one item selectable?
by Ulrich Kerzel - Thursday, 6 August 2015, 8:33 AM
 

Hi,

 

many thanks - that works now.

I've voted for your ticket as well

 

best wishes

Ulrich