Multiple Response questions in Storyline

Apr 23, 2014

Hi,

Hoping someone can help me or point me in the right direction....

I have a quiz with a number of Multiple Response questions where the user is asked to select 2 or 3  options from a list of 5 or 6. The standard Quiz Multiple Response Template works fine but a user can currently select all (or none) of the options and hit submit to move on to the next question....

I want to prevent the user from moving on to the next question until only the correct number of options has been selected.

i.e if the Multiple Response question has 5 options to select from and there are there are only two correct answers....I want to make sure that the user selects at least 2 responses (no more or no less) and if they hit the 'submit' button without this criteria being met then they get an "invalid message"

This feature is already in the Multiple Choice quiz template where the user has to make at least one selection otherwise they get an invalid message that prevents them from moving to the next question.

Hope someone can help

David

9 Replies
Ashley Terwilliger-Pollard

Hi David and welcome to Heroes! 

Using the default Multi response question there isn't an option to confirm they've selected at least/no more than a set number of answers, although you could use the method here to create your own customized invalid answer message that would be based on the state of the answer boxes, although if you want to guarantee they select two (any two) and no more/no less you'll need to set up the conditions for each possible scenario. 

Ashley Terwilliger-Pollard

Hi David,

You may want to look at tracking that with a number variable, so that when the user clicks on each button and it's state is changed to selected you add 1 to a variable. You could then set up a trigger to show the slide layer on the condition that the variable is less than, equal to, greater than, etc. how ever you'd choose. 

David Pugh

Hi Ashley,

Almost there but not completely....I found couple of very useful posts on the forum and have used these to build the attached demo.

If you select more than 3 options you get the invalid message....the count reduces back to 2 and the selected state changes when you hit ok on the invalid message slide layer.

The problem is that  if you then return to a previously selected box the count reduces rather than increases which means that invalid message is not triggered....any ideas??

I have also tried to add a condition to the Submit Interaction trigger but this does not seem to work either.

Regards

David

Ashley Terwilliger-Pollard

Hi David,

I was having some computer issues yesterday afternoon, and it looks like my example didn't load up here, so I'm posting it again! What I did was add some triggers to reset the value and return to the slide from the layers to allow all the elements to be reset. This version seems to work as expected during my testing, but feel free to let us know if you have any questions. 

This discussion is closed. You can start a new discussion or contact Articulate Support.