Forum Discussion

SusanVenegas's avatar
SusanVenegas
Community Member
1 year ago

Trigger

Greetings and Salutations,

Is it possible to set a trigger for the course to exit after two failed retry quiz attempts?

 

12 Replies

  • Hi Susan.

    I would suggest that rather than forcing an exit after two failed attempts, display a message (using a layer) that cannot be dismissed, informing the user they must exit the module as they have failed it twice.

    In order to do this, you would need a variable to track assessment attempts, for example "assessmentAttempt". Increment this variable value each time a new attempt is made.

    You then need a trigger fires when the variable "assessmentAttempt" changes and equals two. When these conditions are met, show the layer with the message letting the user know they can no longer access the content.

  • SusanVenegas's avatar
    SusanVenegas
    Community Member

    Hi Sam,

    Thank you so much for the quick response.  I love and appreciate the suggestion. I am new to this.  Is there a tutorial on how to add a layer?

  • SusanVenegas's avatar
    SusanVenegas
    Community Member

    Do you know if there is a video tutorial on implementing your suggestion?

    • SusanVenegas's avatar
      SusanVenegas
      Community Member

      Hello Tom,

      Thank you so much for assisting me with your suggestions the layer did help, but my administrators want the users to take the quiz once and, if they fail, restart the entire course if they fail again to exit the course.

      Can you assist me with this? I put a trigger, but it exits after the first final results not on the second attempt.

      Thank you,

      Susan

    • SusanVenegas's avatar
      SusanVenegas
      Community Member

      Hello Tom,

      Thank you again for the tutorial,

      I am following the directions to a tee and it still is not working.

      I am not understanding what is going on.

      Thank you again for all your help!!

      Susan

  • Do this: build what I build in the tutorial and see if that works. If it doesn't you can share that file and I can look at what you did