Forum Discussion
Disable Next button unless slide has been visited
My client wants to lock the next button until the learner has viewed the entire slide. I have an action to change state of Next to disabled, but I need help with the condition. I tried unless menu.progress is less than or equal to 1 for the first slide. This did not work. Does anyone know the correct variable to use or do I have to create my own for every slide?
2 Replies
- JoeFrancisCommunity Member
You could create a variable and have triggers for every slide.
Or, you could click the Player tab, select Menu, click the "gear" icon at the bottom, and then change the Navigation Restrictions Menu: drop-down from Free to Restricted.
Make sure the Restrict Next / Previous buttons checkbox is checked.
- JudyNolletSuper Hero
Hi, Brandon,
Joseph pointed you to the easiest way to do what you're asking. Using the Restricted setting works even if you don't show the built-in menu.
FYI: It's also possible to override that on a given slide, such as when you want the user to complete an interaction before advancing. This post provides more info about different ways to control the Next button:
Related Content
- 10 months ago