8 Replies
Alex House

Hey Kashif,

You should be able to limit your quiz to only allow 2 attempts in the quiz settings.

Regarding the restart course option. I would create a number global variable and set it to 0.

on the results page I would adjust the number variable to value +1 when the timeline starts on the results page.

When the number variable is = 2 you could either restart the course straight away or hide the reset quiz button, or have your restart course button appear instead.

Hope that helps.

Alex

 

 

Leslie McKerchie

Hi Kashif!

When you enable the Retry Quiz button on the result slide for a quiz, learners will have an unlimited number of attempts to take the quiz. But you can change this behavior by adding a variable to track the number of attempts and a couple of triggers to set a limit on the number of quiz attempts allowed. See this tutorial for details.

kashif kamal

Thank you Wendy that works.

I am not sure but how to handle the success and failure slides. I am having a different messages/directions for the learners on success and failure slides, for example on the failure slide I have added a text box stating "You have no more attempts" but it is featuring on the success slide as well.

Wendy Farmer

It's hard to say without seeing your setup Kashif.

If they get it right first time, do they see the success layer and the Review button?

If they get it wrong first time, do they see the try again layer and the Retry button?

If they get it wrong second time, do they see the failure layer and Review quiz button?

Do you have the layer properties set to hide other layers?

Leslie McKerchie

Hi Kashif!

When you enable the Retry Quiz button on the result slide for a quiz, learners will have an unlimited number of attempts to take the quiz. But you can change this behavior by adding a variable to track the number of attempts and a couple of triggers to set a limit on the number of quiz attempts allowed. See this tutorial for details.

simondavide tritto

Hi,

I'm trying a similar thing: I want to disable "retry quiz" button after the learner has reviewed the quiz answers. The screenshot shows my setup, which is not working.

I also tried by adding a variable, name it "no_retry_allowed", default = false and then added 2 triggers:

1) to set the variable = true when user clicks on review quiz button

2) to disable the "retry quizzes" if the variable value = true

No way to get this to work: when I preview the scene, the retry button is never disabled.

can you please help?

Alyssa Gomez

Hello, Simondavide. Your method is correct, and it could be that you need to adjust the order of the triggers.

On the Review Quiz button, add this trigger: Change state of "Retry Quiz" button to Disabled when the user clicks the "Review Quiz" button.

Next, be sure that trigger is on top of the "Review Results" trigger. Use the arrows at the top of the trigger panel to move it up, if needed.

Give that a try, and let me know how it goes!