Page 1 of 1

A trigger that adds 1 to the variable

Posted: Mon Dec 23, 2024 10:03 am
by ritu2000
On the second slide, we created a trigger that adds 1 to the variable TheophyllineDisposal when the learner clicks the Submit button, if the state of the Theophylline image (Image 10) is Drop Correct. This means that if the learner has selected the correct answer, we’ll add 1 to the score for this part of the assessment. The ‘Drop Correct’ state is a special state that is automatically generated by Storyline on a drag-and-drop question: we didn’t have to make it ourselves.



Finally on the third slide, we created three triggers: one for each part of the form.

For the “Contents” text-entry, we created a trigger that adds 1 to the variable TheophyllineForm when the learner clicks the Next button, if the value of the variable TheophyllineContents (which is what we named the variable for the text-entry field) is equal to Theophylline. We made sure to choose ‘ignore case’ as it doesn’t matter if the learner capitalises the word or not for this assessment.



Then, we created a trigger that adds 1 to saudi mobile code the variable TheophyllineForm when the learner clicks the Next button, if the Liquid check box is Selected. This is because Liquid is the correct answer for the state of the waste.



Finally, we created TheophyllineForm when the learner clicks the Next button, if the Toxic and Irritant check boxes are Selected, and if none of the other check boxes are selected. This is because these two, and only these two, of these properties apply to this substance.



Finally, we need to display these variables on the feedback slide so that learners can see their scores. You can display a variable in two ways in Articulate Storyline 360. If you know the name of the variable, simply type the name between two % symbols e.g. %TheophyllineForm%.

But if you have a lot of variables, you might not remember them so easily. In this case, go to the Insert tab, and select Reference from the Text section of the tab. This brings up the list of all the variables in your course: simply select the variable you want to display and it will automatically appear in the format above.