Hiding the Quiz Until the End

You have an e-learning course where your client wants the Take Quiz box to appear on the main menu, but doesn’t want learners to be able to take the quiz until after they’ve visited all the sections in the course.

They also want learners to have the option to take the different sections in any order they wish. As learners complete each section, they’ll return to the main menu. After they’ve completed all the sections, the Take Quiz box will become active so they can take the final quiz. Does this sound tricky? Fortunately, I’ve been there and can show you how to make it happen.

Main Menu with Take Quiz box on right

Main Menu with Take Quiz box on right

1. Create Two Versions of the Take Quiz Box
I needed two versions of the Take Quiz box; one that was clickable and would take learners to the final quiz, and one that was not. I named one “TQ With Link” and the other “TQ No Link”. Learners will see the “TQ No Link” box until they complete all the sections, at which time the “TQ With Link” will appear.

I put the “With Link” version on top of the “No Link” version in the timeline. Both boxes look the same to the learner, with the exception of what they say if the learner rolls over them. Since this requires that the boxes be the same size and in the same position, you can either select them in the timeline, or have one of them off to the side and set its final position after you’re done working on them. Either way, it’s a good idea to name them in the timeline to keep them straight.

2. Add States to the Two Boxes
For the “TQ With Link” box I created four states: an initial state of Hidden, and three other states; Normal, Hover, and Visited. For “TQ No Link” I created two states: Normal and Hover.

3. Add Layers and Triggers to the Two Boxes
So learners would understand why and when the Take Quiz box would be active, I created a layer called “Quiz” that said “Not available until all other sections completed” and added a trigger to make the “Quiz” layer appear when learners rolled over “TQ No Link”.

Then I created another layer called “Quiz 2” that said “Ready for a final quiz?” and added a trigger to make the “Quiz 2” layer appear when learners rolled over “TQ With Link”. And of course, I added a trigger to “TQ With Link” to go to the Quiz when the user clicks on it!

Layers with additional text appear on rollover

Layers with additional text appear on rollover

4. Create Variables and Triggers for All the Other Sections
Next, I needed a way for Storyline to know when each of the sections were completed. To do this, I created a variable and a trigger for each section.

I gave each variable a unique name I’d easily associate with the particular section and had them all start with a value of False. Then I went to the last slide of each section and created a trigger that changes the value of that variable to True when the timeline for that slide starts. That way, Storyline would know when the learner got to the last slide of each section, that meant they had successfully completed that section.

Click X symbol on right to create/edit variables

Click X symbol on right to create/edit variables

Variable created with initial setting of "false"

Variable created with initial setting of “false”

5. Create Trigger on “TQ With Link”
Lastly, on the main menu slide I added a trigger that changed the state of “TQ With Link” to Normal when the timeline for the slide starts AND when all the variables for all the other sections changed to True. Because when all the variables for all the sections are True, we know that all the sections have been completed.

When setting up this trigger, click the + sign to add as many variable changes as you need. ONE CAUTIONARY NOTE: I initially tried to just have the trigger activate when all the variables changed, but learned that that wasn’t enough, you also need to tell it to do it when the timeline for the slide starts.

Select when "timeline starts" on current slide

Select when “timeline starts” on current slide

Click + sign to add variables to trigger

Click + sign to add variables to trigger

To see a stripped-down version of how the menu looks and works, click here.

As always, I know some of this can be a bit challenging. So feel free to contact me if you have any questions about any of these steps.

Advertisements

3 thoughts on “Hiding the Quiz Until the End

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s