Forum Discussion
Storyline- Next button to become available after visiting another slide
The logic of why this doesn't work escapes me. I have one main slides that has buttons taking it to 5 other slides. Each of these return the user to that main slide again. I don't want the user to be able to click Next on the main slide until they have visited each of the 5 other slides. I've set up two triggers on the main slide (in this order):
1. Disable the Next button when the timeline starts
2. Change the state of the Next button to normal when the states of all 5 of my buttons are "Visited".
I can see the state of the Next button change to normal on the main slide when I click the last of the 5 buttons. But when I return to the main slide from that last slide, it has reverted back to disabled again.
I have discovered that if I add a third trigger to the main slide, it works. I put this one between the above 2 so basically, this trigger is cancelling out the first one once all 5 slides have been visited.
2. Change the state of the Next button to enabled when the timeline starts with the following conditions (followed by conditions for all buttons' (AND) state being "visited".
It's almost like that original trigger that I set up as trigger 2 is only applied once... when the last button's state turns to "visited". And then after that, the trigger is ignored when you revisit the slide.
At any rate, I got it to work. I just don't understand why it took that extra trigger.
- WendyFarmer9 years agoSuper Hero
It could be that your 'revisit' slide option is set to 'reset to initial state' instead of resume saved state?
As soon as you click a button it changes state to visited so your latest trigger when timeline starts with condition of states = visited is the better way to go. I don't like using the built in visited state as the user can see it change as soon as they click the button - I normally create a new state called 'completed' and delete the visited state and use 'completed' in my triggers.
- RobbinSutherlan8 years agoCommunity Member
Thank you! I just had to do this and it works great :)
- HillaryRobin8237 years agoCommunity Member
Thank you so much I have been struggling for 2 days trying to figure out why this was not working!! Your solution worked perfectly.
- SimonPollock-047 years agoCommunity Member
Marge, this was such a relief to read. Thank you!
- WalidHossaini6 years agoCommunity Member
Thank you Mark, this helped.
- ShakisDrummo6145 years agoCommunity Member
Thanks, Marge! Very helpful. I believe I did something slightly different.
See attached images if anyone needs a visual.
1.
2. I noticed that even with the triggers in #1, I still needed these triggers in #2.
- LorriGriffin-8f4 years agoCommunity Member
I am SO glad I found this four years later!!! I encountered the exact same issue and used your solution. Perfect!!!
- munmunbanik-af27 months agoCommunity Member
Thank you so much. Phew, I was breaking my head trying to figure out why it wasn't working, but this trick worked. Even, I didn't understand the logic behind this, my slide was set even to Resume Saved State, still it took the first trigger of disabling Next button.
Related Content
- 10 months ago
- 11 months ago
- 9 months ago
- 6 months ago