How to retry a question and set the variables to initial state?

May 01, 2021

Hi There,

I hope someone can help me with adding a retry option.

My project involves a drag and drop questionnaire with at the end of the questions a resultslide and 3 categories. Every question has 2 drop targets (YES and NO).

I added some numeric variables (ADD points) on the yes and no targets. I also changed the state of the drag items to disabled when they dropped it on yes or no, because then my numeric variables work the way i want it to work.

So, what if a learner makes a mistake and want to try it again? For that i changed the player settings to 'reset to initial state', so when the learner clicks the retry button on the slide, he can try it again.

Doing that, i encountered a problem with the numeric variables. So i changed the variables to initial state if the learner clicks on the retry button. But somewhere i need to add a trigger that he starts counting again when the learner drags an item on yes or no. Because when i go to the next question, i see that the counting did no go as expected.

I hope somebody has a great idea :D

6 Replies
Inés BK

Hi Nejc,

It was not that simple because there were variables involveld in the drop targets. I have found 2 solutions for this problem.

Solution 1: disable when dropped. add a retry button and duplicate slide. So when the learner clicks it shows the duplicate slide. The problem with this one is that they only can do it once again (or the amount you programm) and you have a lot of slides.

Solution 2: free drag and drop option and free switching (true/false variable and fixed points variable on the yes and no). And then click 'done button'. At done i show a layer. A shape covers the slide and text dissapears: you have now completed this question. Click on next to go to the next question (or something like that). At this point i added triggers to the variables to remember for the pathway to be followed. The disadvantage is the extra button, but i can't find another solution for this in Storyline3.