Forum Discussion

A_Sims's avatar
A_Sims
Community Member
5 months ago

Multiple quiz attempts before failure

My client has requested that learners have the opportunity to take a quiz twice before being marked unsuccessful.  I'm using a Storyline results template with Review and Retry buttons.  I have used a variable to allow two attempts.  How can I exit the course after two unsuccessful attempts? As of now, there are two layers: Failure and Success.  Additionally, how would I end the course when they are successful?  If not mistaken, the results slide automatically submits the score, but I'd need to add a button to exit the course for Success and when the learner has been unsuccessful twice.  Suggestions?

1 Reply

  • Nedim's avatar
    Nedim
    Community Member

    You can copy the Failure layer and rename it to "Failed twice" layer. Then, remove all the buttons and create only an "Exit" button. Next, create a custom number variable, for example, "failedAttempts," and set its initial value to 0.


    On the base layer, create two triggers: one to increment the "failedAttempts" variable by 1 each time the user fails, and the other to show the "Failed twice" layer when the "failedAttempts" variable reaches 2.

    Result: