Forum Discussion
Hide Next button until objects have been visited
Hey Walt,
You seem to be the guru of resolving this issue. I'm running into the same problem. I have a slide with 6 buttons that branch out then circle back to the original "menu slide". I want to disable the next button until all of the branches have been completed.
I thought I had tried all of the solutions above but it's just not working. I'm still fairly new to Storyline (about 6 months using it). I have attached my file here....any help would be greatly appreciated!
Amie
- Crystal-Horn8 years agoStaff
Hi Amie! Thanks for sharing your project file. You've done a really good job so far, and this setup is one of the most common challenges that designers face. Since you had all the foundations in place, it was really easy for me to make a few changes to get it working.
- First, I eliminated all the triggers to change those shapes on slide 1.2 to Visited. Because Visited is a built-in state, you don't have to do any work to trigger it! Storyline does it for you.
- Next, I added a condition to the trigger to change the state of the next button to disabled. As it was, that trigger was going to fire when the timeline started no matter what. I added the condition of "if
Slide2Completeis equal to False." - I changed the trigger to set "
Slide2Completeequal to true" just a bit. Instead of adjusting it "when the state of 2, 3, 4, etc" are Visited, I made the action "When user clicks Rectangle 7." The user clicking is a more reliable action than a state changing.
Then, I added the conditions of "If the state of Rectangle 2 is equal to Visited," and the same for the rest of the rectangles. I didn't include Rectangle 7 in the conditions since you'll be clicking on it anyway. - Finally, I moved that trigger above the trigger to jump to slide 7.1. If you jump to slide 7.1 first, the trigger to adjust the variable to true won't ever fire.
I'm attaching the modified file so you can see exactly how it looks and so you can give it a test! Let me know how that works for you.
Related Content
- 10 months ago
- 12 months ago