Forum Discussion
Disable Next Button and Resume Saved State
Hello friends,
I am stuck on the following scenario and would very much appreciate your help. I can't find the right combination of variables, triggers, and layer settings to hide my Next button until the user has visited all layers on the initial visit to the slide, but have the Next button set to Normal when the user returns to the slide in the same session. Here's what I've got:
- Base layer + 3 additional slide layers. All are set to Resume Saved State when revisiting.
- Trigger setting the Next button to Disabled when the timeline starts on the base layer.
- Variables attached to each layer that change when the timeline starts on the layer. I tried both a True/False and setting a Value that increments up (not at the same time).
- Trigger that changes the state of the Next button to Normal when the variable changes if the desired values are there. First I tried when all layer variables are True. Then I tried when the variable attached to all 3 layers is greater than or equal to 3.
The initial interaction works fine. You visit each layer, close it, and when you've visited all 3 the next button opens up. BUT, when you advance to the next slide and then go back, the Next button is disabled, even though the base layer and all 3 slide layers are set to Resume Saved State.
What am I missing?
You're missing conditions on the trigger that disables the Next button. That runs every time the user visits the slide. So add conditions that check whether the user has already finished the interaction.
The file attached to this post has an example: https://community.articulate.com/discussions/discuss/tip-controlling-the-next-button-101/873348
3 Replies
- KelleyDoyle-65eCommunity Member
Thank you so much JudyNollet​, that "or" condition was the missing link. I really appreciate the help!
- JudyNolletSuper Hero
You're welcome! Pay it forward when you can. 🙂
- JudyNolletSuper Hero
You're missing conditions on the trigger that disables the Next button. That runs every time the user visits the slide. So add conditions that check whether the user has already finished the interaction.
The file attached to this post has an example: https://community.articulate.com/discussions/discuss/tip-controlling-the-next-button-101/873348