Limiting Quiz Retry attempts in Storyline- Can't get it to work
Jan 15, 2013
I am trying to limit the amount of times a person can take a quiz in Storyline and I can't seem to get it to work correctly.
- I only want the users to retry to quiz if they failed; so I moved the "Retry Quiz" button to the Failure layer on the Results slide.
- I created a variable called "attempts" and added a trigger to the "Retry Quiz" button that increases the value of the "attempts" variable when clicked.
- I then set a layer trigger to change the state of the "Retry Quiz" button to disabled at the start of the timeline, if the "attempts" variable reaches 3.
- When I preview, the "Retry Quiz" button doesn't change its state regardless of the value of "attempts"
Does anyone know what I am doing wrong?
thanks, Cathy
4 Replies
Hi Cathy,
Any chance you can share your project's .story file here, so we can see what you have so far? If the information is confidential, try recreating it in a new project file. Maybe we can provide some suggestions that will make this work for you
Thanks!
I copied the scene with the test into its own storyline project. The formatting isn't the same as in the course; but all the objects on the screen and variables etc... are the same.
thanks for looking at it.
Hi Catherine!
it took me a few runs through the quiz to figure out what the problem was, I think it was right in front of both of us the whole time.
It looks like the button set to disable was actually the "Review" button, not the "Retry" button. I added an additional trigger to this button as well and it seems to be working after 3 attempts. Just to make it a little bit more noticeable, I changed the disabled state for the button to gray. You don't need to make this change, I just wanted a visual confirmation.
I'm attaching the modified version so you can take a look, if you'd like
Thanks!
Lesson learned - always read the entire name of the object!
thanks, Cathy
This discussion is closed. You can start a new discussion or contact Articulate Support.