Quiz Attempts - Retry Button Variable

Sep 25, 2020

I've added the results slide to my quiz where I want the user, if they fail the quiz, to be able to attempt another twice (meaning they get three attempts in total). After the third attempt I want the Retry button to be disabled preventing them any further attempts.

My issue is that when I preview the scene to test the quiz, the Retry button will either disable after the first attempt or, after some fiddling with the variables etc, it allows endless attempts.  Also, when starting the preview again, the number of attempts is not re-setting.

I'm fairly new to Articulate but spent 3 hours on a Teams call with my colleague who is an exceptional Articulate user and we just could not get it to work.  I've attached a screen shot (please ignore the results slide - I ended up deleting my original results slide and creating a new one from scratch to see if it made a difference but it didn't) which shows the result slide, the variable and the triggers on the slide and object. Any assistance would be greatly appreciated.  I've pretty much spent a full day on trying to get this one button to work and just need it working so I can get the module out for review.

4 Replies
Ned Whiteley

Hi Rosanne,

Having had a quick look at your attached image, my initial impression is that you are starting with the variable QuizAttempt set to 2 and you have a trigger that disables the Retry button if QuizAttempt is equal to 2. As a result, the Retry button will always be disabled.

I also notice that the variable QuizAttempt is only used once (i.e. in the trigger that disables the button) and so there is nowhere in your quiz where the variable is incremented each time the user attempts the quiz.

In order for this system to work, you need to have QuizAttempt set with a default value of 0 and then have a trigger that increments the variable by 1 each time the user attempts the quiz (this could be placed on a number of different slides, but more usually on the first or last/results slide of the quiz).

If you are still having problems, are you able to post a copy of your quiz here so that I can have a look?

Ned Whiteley

Hi Rosanne,

In the attached version 2 of your SL file I have set the variable QuizAttempt to 0, amended the trigger on the Results slide to disable the Retry button when QuizAttempt = 3 and added an additional trigger on the first quiz slide to increment the variable QuizAttempt by 1.

Your quiz now appears to be working correctly as it allows a total of three attempts before disabling the Retry button.

With regards to restarting the Preview, if you want the variables to reset to their initial condition, select Preview Entire Project from the Replay drop down:

 

This discussion is closed. You can start a new discussion or contact Articulate Support.