Forum Discussion

Paktolus's avatar
Paktolus
Community Member
2 years ago

Preventing user from retaking quiz from instructions page after 2 tries.

On my Quiz Instructions page, you have to click Next to start the quiz. Once you're done and you see the Results page, you can take the quiz one more time using the Retry button. When it takes you back to the Results slide after the 2nd try, the Retry button becomes hidden and you can no longer take the quiz again.

Here is my problem....
The user is able to go back to the quiz instructions page, click Next and keep retaking the quiz that way. How do I prevent this after the 2 tries? I don't want to hide the Menu.

  • Set a trigger on the instructions page that hides the Next button if attempts = or greater than 2.

    • Paktolus's avatar
      Paktolus
      Community Member

      Thanks for your reply. This only works if you use the Retry button on the Results page. Then, when you go to the instructions page in the left menu, it disables the Next button and shows my layer that tells the user they used up their 2 attempts.

      On the other hand, if you complete the first try, then click the instructions link in the left Menu, it doesn't work. It resets the quiz each time and allows the user to keep retaking it this way with no limit.

  • You will need to create and manage a variable that tracks the number of attempts. The built-in quiz will not change it. So every time the instructions page starts, it will disable the next button, if I read your post correctly that the only way to the quiz is through the Next button on the instructions page. If there is a Menu link to the quiz page, then you need to put the trigger on the quiz. When the quiz starts, jump to another page if your variable shows 2 or more attempts.

  • Paktolus's avatar
    Paktolus
    Community Member

    These are the 2 triggers I have on the instructions page.


    However, when I retry the quiz the 2nd time by clicking the Instructions link in the left Menu, it still "resets the entire attempts. Everything seems to only work when I click the Retry button on the Results page. Maybe I am still doing something wrong? Do the triggers need to be in a particular order?

    User can click the RETRY button or click the Assessment Instructions link in the left Menu, which will tell them to click Next to start the quiz. This is where the trouble is.

  • To me the simplest plan is to hide the Retry button when the Results slide starts if QuizAttempts > or = 2.

    There are likely more glamorous methods, but they are also more complicated.

    • Paktolus's avatar
      Paktolus
      Community Member

      On the Results slide, I've already set a trigger to hide the RETRY button after 2 attempts. Once again, this is not the problem and has no effect on the learner clicking on the instructions page in the left menu to get to the quiz.

      • JoseTansengco's avatar
        JoseTansengco
        Staff

        Hi Paktolus, 

        Try moving the 'Jump to slide' trigger so that it is situated just before the 'Show layer' event in your trigger order. This will allow this trigger to execute before the 'Show layer' trigger.

        If this doesn't work, it would be easier to see what's going on if we could see a copy of your project file. Would you be willing to share a copy of it here or in private by opening a support case so we can see how your slides are setup? We'll delete it when we're done testing!