Help with Variables for Button Visibility

May 07, 2024

Hi

I have a section in a training where I need a continue button to become visible after the learner has gone through a series of branched slides. There is a graphic where they click through sections and each section takes them to the respective slide. The section slides are all set up so they can visit each one without having to go back to the main slide. The goal is for the learner to visit each section slide and when they return to the main slide, the continue button becomes visible so they can go on to the rest of the module. I've tried multiple trigger/variable combinations and the continue button will not show in the normal state when all of the slides have been visited. Any help on resolving the issue will be greatly appreciated- thanks!

3 Replies
Judy Nollet

The trigger to change the continue button to Normal is set to run when a variable changes. 

However, that variable changes on other slides. A trigger can only recognize a variable change when it happens on the same slide as the trigger. 

Try this instead: have the trigger run when the Timeline starts, with the condition based on the variable value.

Note: You've got triggers adding 1 to the number variable whenever the timeline starts on certain slides. That means the number will go up if a user revisits any of those slides.

I think it'd be better to use T/F variables to track completion of the sections. 

  • Create one T/F variable (with the default value of False) per section.
  • Have a trigger adjust the corresponding variable when the user completes a section.
  • On the Overview, use conditions that require each T/F variable to be True before the continue button will change to Normal.