Authors

Video Tutorials

Storyline 3: Limiting Quiz Attempts

When you enable the Retry Quiz button on a result slide, learners will have an unlimited number of attempts to take the quiz.

But what if you want to limit the number of attempts? No problem. 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 user guide for details.
  2. Add a number variable to track the number of quiz 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 learners click 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 user guide.

  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 you want to allow. If you need help adding conditions to triggers, see this user guide.

That’s it! If you want to make the Disabled state of the Retry Quiz button more noticeable or descriptive, you can edit the state. For example, you might change the color of the button or change the text to “No more attempts.”

Published 9 years ago
Version 1.0