Problem trying to use T/F variables to change state of buttons

Jun 30, 2017

All,

Hi. I'm attempting to use T/F variables to change the state of forward/back buttons from Hidden to Normal after the user has visited all three layers. I'm clearly doing something wrong and want to put my head through the wall. 

If anyone has a minute, can you take a look, please? 

Best,

Nathan

4 Replies
Chris Cole

Hi Nathan -

I've found variables to be a little sticky for doing this kind navigation logic. It can lead to problems sometimes when the learner backtracks to a slide, for example, depending on how you have things set up.

It's much easier and more reliable to just use the Visited state of the object(s) that the learner clicks on to visit each layer. Let's say you are having the learner click on 3 rectangles to display the 3 layers. Use a slide trigger that says to enable (or show) the Next button when all of the rectangles are Visited. The Visited state is set automatically by Storyline when the learner clicks the rectangle to view a layer, so all you have to do is make sure each rectangle has been "visited", like this (this sample image just shows 1 rectangle):

Depending on your setup, you might also include a slide trigger to disable the Next button when the timeline starts if any of the 3 rectangles are not visited.

Finally, be sure your slide property is set to Resume Saved State so that when you revisit the slide the Next button is still enabled.

 

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