Disabling and Enabling Next Button

Feb 26, 2021

Hello, 

I have been creating a lot of slides where users have to click various items that have a selected state. I have disabled the next button when the timeline starts on that slide and then enabled the next button once all objects have been selected. All seems to work fine, but once the user goes to the next slide and then revisits the past slide (either from the menu or previous button), the next button remains disabled (even though all objects are in their selected state). I have changed the slide to "reset to initial state" when revisiting, but this can be quite cumbersome for the user to go through everything again if there are a lot of objects or slide layers that need to be visited. 

Is there a way to make sure the next button stays enabled when users revisit the slide? 

Thank you, 

Mackenzie  

6 Replies
Judy Nollet

Hi, Mackenzie,

As Philip said, you should set the Slide Properties to "Resume saved state" for revisiting.

However, there's a bug: Storyline will still execute that "when the timeline starts" trigger, even when the slide otherwise resumes the saved state.

Fortunately, there is an easy fix for this:

  • Create a T/F variable with an initial value of False. 
  • For the trigger that disables NEXT when the timeline starts, add a condition so it only happens when the variable = False.
  • Add a trigger that changes the variable to True when the interaction is done. (This means the condition to disable NEXT won't be met when the user revisits the slide.) 

Here's a sample of how the triggers would look with enabling NEXT when the timeline ends (instead of when an interaction is done): 

Judy Nollet
Andrea Garajova

Hello, is it possible to do this on Master slide? Or do I have to add triggers and variables to MyCustomNextButton for each slide? Thank you.

When you're working on a slide, you can't add triggers that affect an object on the Master Slide. 

And because the above programming requires a unique variable for each slide, it won't work on the master, either.