How to require questions completed before viewing results slide?

May 08, 2013

I have a course with one quiz question at the end of each of five scenes.  When they complete a scene, they return to a main slide to select the next scene.  I would like to track all quiz questions using one results slide, and not allow them to navigate to the results slide until they've answered all questions, but I'm not sure how to make that happen.  Initially, I put a button on the main slide that is disabled in normal state, that could be used to jump to the results slide only if all quiz questions have been completed.  But I just can't figure out how to do it!

7 Replies
Karen Wegner

Thanks for your response, Donna.  Since I'm pretty new to Storyline, I'm still figuring out things I haven't tried before.  So I kind of know what I might be able to do, but I don't always know exactly how to do it.  So in this case, I have all the scenes completed, with a quiz question at the end of each, I have created a results slide and selected all the quiz questions that will be reported, and I have the button on the main slide that should take them to the results slide.  But I don't know how to require completion of each of the quiz questions before the button state is enabled.  I've read some on variables, but just haven't figured out how to do this. 

Christine Hendrickson

Hi Karen. Welcome to the community and Storyline! :)

I think I understand what you're trying to do here. Hopefully we'll be able to share some suggestions that will work for this :)

One option, and probably the fastest, would be to use a single True/False variable on the results slide. Have the variable set to "False" for its initial value. When the timeline starts for the results slide, trigger that variable to change to "True". 

Once you have the True/False variable set up, you can focus on your button for the results slide. Set the initial state to "Hidden" or you could probably even use "Disabled", if you want to show the button, but don't want to allow users to interact with it without completing the questions. 

Assign a trigger that will change the state of your button to "Normal" when the True/False variable is "True". 

Would something like this work for you? 

Karen Wegner

Thanks so much for your help.  Here's what I've done so far.

I created a number variable to count the times the submit buttons on the quiz slides are pressed.

On each of the quiz slides, I created a trigger that adds a value of one to the variable each time the Submit button is pressed.

I created a reference so I could see whether that is working, and those triggers seem to be working just fine, adding one each time submit is pressed.

I have a button 'See Results' that is disabled initially, that has a trigger changing the state to normal when the variable changes, with the condition that the variable is greater than or equal to the number of quiz slides. 

When I preview, the reference changes, but the 'See Results' button doesn't change to normal state. 

I haven't created the trigger to jump to the results slide yet, since the button is still showing disabled. 

Any help you can offer would be most appreciated!

Karen Wegner

I was able to resolve this issue through a live chat.  I needed to change my Results button trigger.  In the 'When' section, I changed it from 'Variable changes' to 'When timeline starts'.  That fixed the problem.  So they go to this menu slide (the one with the button) more than once as they view the scenes and submit the quiz questions, but the button only changes state after they go to the slide again (and start the timeline again) and the variable is now greater than or equal to the number of quiz questions.  

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