Writing trigger once a test is passed

Jun 19, 2013

I have a course with 6 modules. Each module has a quiz at the end of it and once passed, a link to return to the main launch page with the 6 modules listed. I would like to add a state as the user passes each  test to show the module is completed. I've added the state but can't figure out how to insert the variable / trigger.

Thanks for any help.

8 Replies
Donna Morvan

Hi Darian,

Are you asking specifically about how to add triggers or variables?

There are various tutorials you can look up specifically to learn how to do that.

Basically:

1. Add a variable for each QUIZ. 

     a. Create a True/False variable for each quiz.

     b. Label each accordingly to help you remember what they're tracking like.. "Quiz1Passed"

     c. Set the initial value as "False".

2. Decide on what will trigger the state change of the variables. Depending on what you want to use, maybe in this case it's a "score" or a "button". Eitherway, you have to reference that.

    e.g. After every quiz (If they pass), you said there is a link to return to the main launch page. You can use this as the trigger to change the state of the variable. On the slide where the link is, add a trigger to change the state of the variable to True when user clicks on the link. (You may have to have separate links for each quiz since you don't want it to change all of the quizzes' status to true after passing just 1 quiz)

3. Once you have all this setup, you can now add a trigger on the main launch page where the 6 modules are listed to show the "state" as completed when the "QuizXPassed" variable is = True.

***It's always a little tough to explain over the forums. You can share your file so we can look at it if you need more help.***

Hope this helps a bit,


Donna

darian spicer

Michael,

  For some reason, I still can't get it to work. I copied the variables and triggers but it changes the state to completed as soon as the initial page launches. I've attached a file if you don't mind helping me again.

Thanks so much. Not sure what I'm doing wrong.

This discussion is closed. You can start a new discussion or contact Articulate Support.