SL2: Setting a trigger for the Retry button on a quiz results page

Nov 11, 2014

Hi all,

I have a retry button on my quiz results page that enables learners to retry the quiz again should they fail to pass the first time. I want to limit the availability or visibility of this button so that they can only retry once. If they fail a second time then it is a requirement they repeat the course. That will be handled via the LMS.

Does anyone have any suggestions on how I can do this?

7 Replies
Emily Ruby

Hello Maree!

One way to achieve this would be to add a number variable to each quiz slide, adding +1 when the timeline starts.

Then you can have the Retry quiz button set to disable when the variable hits the number of times they can take the test, in your case, 2.

Attached is a simple example.

I am sure if others have ideas, they will share as well!

Maree Jackson

Hi Emily, thanks for the advice and the sample. In your sample you created a variable label for each slide (slide 1 and slide 2). I have 3 question banks each containing a series of questions that are randomly generated. In total 10 questions are pulled from the 3 banks. I have 3 pool slides in my course (in sequence) to pull the questions from each bank.

1. Based on your example do I need to creat a variable label for each question in each pool? for example, Pool 1 Question 1, Pool 1 Question 2, Pool 1 Question 3, etc.

2. I am not sure this will work as the questions are generated randomly so the retry button will remain active as all questions have not been answered, only those randomly selected.

Sorry I should have explained this better.

Emily Ruby

Hello Maree!

With using banks with random draws it would get a little tricky.

Wendy's idea could work, and another possible way would be to add a blank slide after each bank which holds the Adjust variable trigger to Add +1 each time, and also have a jump to next slide trigger when timeline starts, so the user does not see the slide. Then you could just set up the same "change state to disable" the retry button when the variables reach 2.

Attached is an example.

Hope this helps!

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