Storyline 2: Limiting Quiz Attempts

Article Last Updated

This article applies to:

If you want to let learners take a quiz more than once in your Articulate Storyline course, enable the Retry Quiz button on the result slide for the quiz. This gives learners an unlimited number of attempts to take the quiz. But what if you want to limit the number of attempts? You can do that, too. Just use a variable to track the number of attempts. Here’s one way you can accomplish this:

  1. Enable the Retry Quiz button on the result slide. See this tutorial to learn how.
  2. Add a number variable to your course to track the number of attempts, and set the initial value to zero (0). For the sake of this tutorial, we'll refer to this variable as the Attempts variable.
  3. On the result slide, add a trigger to the Retry Quiz button that adds a value of 1 to the Attempts variable when the user clicks it, then move the trigger up so it's the first trigger listed for the Retry Quiz button. To learn how to add triggers, see this tutorial.
  4. Add a slide trigger to the result slide that changes the state of the Retry Quiz button to Disabled when the timeline starts if the Attempts variable is equal to the maximum number of retries that you want to allow. If you need help adding conditions to triggers, see this tutorial.

That’s it! If you want to make the Disabled state of the Retry Quiz button more descriptive or noticeable, you can edit the state to change the color of the button, or even change the text to “No more attempts” or something similar. To learn more about editing states, see this tutorial.