This should be a simple set of triggers, but they are not working as I expect. I want the interaction to submit when the learner clicks "submit", but only under certain conditions. The interaction submits, when other conditions are met.- For example it will submit when MC-195T are selected and Push Button. This is not one of the defined parameters. I appreciate any insight. I have attached the .story file.
If you look at the triggers on your screenshot (specifically the indentation of the OR vs. the AND), you can see that you set it up to hide the layer when the user clicks submit if either:
Control R is selected AND Motion sensor is selected
OR
Push button is selected (no other condition)
OR
None is selected (no other condition).
You can quickly fix this by adding the Control R selected condition to the other ones, like this:
You can see how the indentation is different, showing the each OR is a full sentence.
2 Replies
Hi, Terry.
Thank you for sharing your .story file!
If you look at the triggers on your screenshot (specifically the indentation of the OR vs. the AND), you can see that you set it up to hide the layer when the user clicks submit if either:
Control R is selected AND Motion sensor is selected
OR
Push button is selected (no other condition)
OR
None is selected (no other condition).
You can quickly fix this by adding the Control R selected condition to the other ones, like this:
You can see how the indentation is different, showing the each OR is a full sentence.
I am attaching your edited .story file here.
Let me know if this works!
Hi Maria
That's awesome. I never knew that was how the logic worked. This works correctly. Thank you!!
Terry