Using three triggers at once?

Jan 25, 2013

Hello all,

I am posting a question in my course that has - a correct answer, partial answer and wrong answer. I have created the layer responses but wondering if it is possible to have three triggers to get to the correct answer. The learner would have to select answer 1, answer 2 and press the submit button that I created. If they only selected answer 1 and clicked the submit button that would only be partially correct. They must select all three to get it correct. Any suggestion how to do this in Storyline?

Cheers,

Don

12 Replies
Jerson  Campos

You can use variables with a conditional statement.  It's been a while since I cracked open Storyline, but basically it would say
On press of submit button, show "partial correct" layer, if answer 1 = true and answer 2 = false.

Then you can duplicate the trigger, but reverse the answers (answer 2 = true and answer 1 = false,

Don Hardy

Hello again Jerson,

I tried to input your suggestion but storyline would not allow me to put in you formula. I am new to the use of variables and would need you guide me through the process that I am trying to accomplish. I have included the slide with the layers response. Thanks again for your help.

Cheers,

Don

Jon Xie

Hello, Don. I applied two different approaches to solving your problem. Suppose choice A and choice B are correct answers. I used States-of-Checkbox+Trigger Method and Variable+States Method. I find it hard to make the logic clear by words, therefore, please refer to the attached .story file. Hope it may help.

Jerson  Campos

Attached is the method I was talking about. You actually didn't have to use variables, just have the trigger check the state of the check boxes. I put in three different triggers for the submit button. 2 of them check if one of the correct checkbox is selected and the other is unchecked. This will show the partial layer. The last trigger checks if both are checked to show the correct trigger.  Let me know if you have any quesions on this and I'll do a screenr on this.

Don Hardy

Hello, Jerson, Jon and Jeanette,

So I tested all suggestions and the one that worked best was Jon's - Test Variable with some additions. I have included it as an attachment if anyone would like to review how Jon did it.

Jon, what would be very cool (if you have the time) would be a "step by step" instruction how you built the steps. I am new to these "addition" and would appreciate your input. 

So, thanks to all who participated - Jerson, Meryem, Jon "the Man" and Jeanette for over seeing.

Cheers,

Don

Jon Xie

Hello, Don. The steps are as follows:
Step1. Create a numeric variable named"QN" with a default value=0;
Step2. Create four Submit Button triggers: Trigger1--show layer of "Partially Correct" when click it If "QN"=1; Trigger2--show layer of "Correct" when click it If "QN"=2; Trigger3--show layer of "Not Correct" when click it If "QN"=0; Trigger4--show layer of "Don't know" when click it If State of "Checkbox 4 " is Selected;

Step3. Adjust variable"QN"=1WHEN Checkbox 's state of any of answers A-B are selected AND adjust variable"QN"=1 WHEN Checkbox 's state of ALL of three answers A-B-C are selected(both cases lead to partially correct); then adjust variable"QN"=2 WHEN Checkbox 's state of both correct answers A-B are selected ;

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