There are times where you don’t want your learner to leave a slide until certain criteria have been met.
For instance, there's an interactive game on a slide (a credit score game you'll learn to create in my Storyline Essentials book). The learner earns 10 points by clicking on slide objects that help improve a person's credit score; they lose 10 points if they click something that hurts a credit score. In the end, learners need to get a perfect score (100%) before moving forward with the lesson. (They can reset the game as many times as needed.)
Preventing a learner from skipping past a slide until certain conditions have been met is known as forced navigation.
In my scenario, I forced the navigation by creating one trigger that hid the player's Next button until the learner earned a perfect score. At that point, another trigger allowed the Next button to magically appear.
Notice in the image below that there isn't a Next button on the player (there's just a Previous button).
After getting a perfect 100%, a Next button automatically appears.
To accomplish the task, I needed to create a few triggers that will hide and then show the slide's Next button based on a few conditions.
First, the trigger to hide the Next button:
With nothing on the slide selected, I created a new trigger.
From the Actions drop-down menu, I chose Change state of and selected the Next Button from the On Object drop-down menu.
To ensure that the button isn't visible when the slide appears, I clicked the To State drop-down menu and chose Hidden. Then. from the When drop-down menu, I selected Timeline starts.
At this point, the Next button is hidden and it's not ever going to appear. So to ensure that the Next button appears only after the learner earned a perfect score of 100%, I created another trigger.
From the Actions drop-down menu, I chose Change state of. From the On Object drop-down menu, I choose Next Button again only this time I changed the button's State from Hidden to Normal.
Because I was using a Variable named "percentage" to display the percentage of correct answers, I chose Variable changes from the When drop-down menu and then selected the percentage Variable.
I only want the Next button to appear if learners get 100% after playing the game. That requires a quick condition. I clicked the Show Conditions button and added a new condition. From the List area, I selected Variables, from the Operator drop-down menu I chose Equal to. And lastly, from the Type drop-down menu, I set the Value to 100.
To test the triggers, I previewed the slide and there wasn't a Next button on the player. After I clicked each of the correct answers in my game and got my 100% score, the Next button appeared.
Kevin Siegel, CTT, COTP, is the founder and president of IconLogic. Following a career in Public Affairs with the U.S. Coast Guard and in private industry, Kevin has spent decades as a technical communicator, classroom and online trainer, public speaker, and has written hundreds of computer training books for adult learners. He has been recognized by Adobe as one of the top trainers world-wide.