Forum Discussion
SamuelWarren-6a
4 years agoCommunity Member
Disable Retry Quiz Button after Two Attemps
Hi,
A have a quiz in my Storyline course.
The quiz has a Retry Quiz button.
If the end-user fails the first attempt, they have one more try. If they fail after the second attempt the Retry Qui...
JudyNollet
4 years agoSuper Hero
Since you're only giving the user 2 tries, you can use a T/F variable*, with a default value of False.
Use a trigger on the Retry button that sets the variable to True.
- Be sure this trigger appears before the one that jumps to the first question.
Use a trigger on the Results slide that changes the state of the Retry button to Disabled or Hidden when the timeline starts, with the condition that the variable = True.
- It'd be a good idea to also show a message explaining what the user has to do to get another chance to pass.
* Note: To allow more attempts, use a number variable with a default value of 1. Use a trigger on the Retry button that adds 1 to that variable. Use a trigger on the Results slide that changes the state of the Retry button, with the condition that the variable = the maximum # of attempts.
Here's more info about conditions and variables: