Forum Discussion
Retry Quiz Button Inhibiting Previous Button Navigation
The PREV and NEXT buttons on question slides are a bit weird. Storyline knows to show them during a quiz review. In those cases, the buttons use the standard triggers: "jump to previous slide" and "jump to next slide." But those triggers don't appear in the trigger panel.
Here's a workaround.
Create a T/F variable to track whether the user is reviewing the quiz. This will determine whether to show the PREV & NEXT buttons or not. Keep the default value of False. Here's what I mean:
- False means the user is taking (not reviewing) the quiz. The PREV & NEXT buttons shouldn't show.
- True means the user is reviewing the quiz. The PREV & NEXT buttons should show.
Do this on each question slide:
- Open the Slide Properties, and select the checkboxes for the PREV & NEXT buttons. That will make them show on the question slide, and the triggers will be available for editing.
- Adjust the PREV & NEXT triggers as needed to go to the desired slides.
- Add triggers to hide the PREV & NEXT buttons when the timeline starts with the condition that the variable = False.
Do this on the Results slide:
- Add a trigger that adjusts the variable to False when the user clicks the Retry button. Be sure that trigger comes before the trigger that jumps to the first slide in the quiz. This will meet the condition for the triggers that hide the PREV & NEXT buttons.
- Add a trigger that adjusts the variable to True when the user clicks the Review button. Be sure that trigger comes before the trigger to review the quiz. This will prevent the triggers that hide PREV & NEXT from running, because the stated condition won't be met. Thus, PREV& NEXT will show.
Judy -
I cannot thank you enough. This is the first time I've asked for help in the forum and I am SO grateful for your timely response. It worked beautifully!!!! Thank you, thank you, thank you!
- JudyNollet8 months agoSuper Hero
You're welcome! Pay it forward when you can. 😄
Related Content
- 11 months ago
- 3 months ago