Quiz "Invalid Answer" not appearing in Storyline 2

I have created a quiz with a custom player/toolbar. It submits the answers when the user clicks on the right arrow. Everything works great except it doesn't force them to answer the question before proceeding (the invalid answer pop-up doesn't show up). Is there something I need to do to make this work?

13 Replies
Emily Ruby

Hello Lisa,

When you remove the built in Submit button, you also remove the built in "invalid answer" feedback.  If you would like users to answer all the questions before submitting to the results slide, you may want to look at this tutorial, which describes how you can ask users to confirm that they have answered all the questions and are ready to submit their answers before they get to the result slide.

Lisa Phillips

Hi Emily,

I needed a way for a pop-up to appear if an answer is not selected on each page to force them to select an answer so that it scores properly. I have built this on the "next button" - so when they click it, it checks for answer and if one isn't selected it triggers the pop-up. If an answer is selected, clicking the next button goes to the next page - which also changes the page number. 

I have that working, but the issue becomes if they go back it resets the variable to zero but doesn't deselect the answer. I need it to not reset the variable to zero if there is an answer already selected so that the pop-up on the next button doesn't appear. I think i need a trigger that checks if an answer is selected then doesn't change the variable back to zero. Just not sure if that is possible or where to put it (on back button?) 

I have attached the file, but the variables etc. are only on the first two questions in the quiz.

Emily Ruby

Hello Lisa!

Unfortunately I do not think the way you have this set up on the master slides is going to work as you need. By using the master slide, you are using the same variable for every question. I have changed the first 2 question slides here but adding the triggers on a slide level.

When you go to review the quiz, the pop up will not appear the second time around. Let me know if this works.

Lisa Phillips

Ok, back to my original question, Emily, that works, sort of. But my page numbers get all screwed up when going back and forth and on the review. 

What i need to accomplish is to have the page numbers work in all situations (going forward, back, and in the review resetting to 1 and going forward and back), as well as have the user be "forced" to choose an answer (pop-up or some other solution). I just can't seem to wrap my head around how to get this to work. Any thoughts? Different approach? 

Emily Ruby

Hello Lisa,

The page number variable was set to add +1 when the timeline starts. What you may need to do, if users will be able to go back to the questions for review, is add a second variable for each slide. Maybe a true/false, and when the question is submitted have it change to true. Then you would need to adjust the question count trigger to only add +1 on condition that the other variable is set to its default. (false)

I am sure if anyone has a different idea, they will chime in.