Forum Discussion
Trigger "when the state of all of the check boxes" issue
Dear community members,
I've enjoyed the very valuable contributions and inspiring material on this platform recently and would like to address an issue I've been struggling with.
I created a Multiple Response exercise with four possible options, out of which the first three are correct. I want to show custom feedback layers and therefore thought that introducing a variable could ease my job.
The one trigger that I'm stuck with is attached: "Set the variable to True when all of the checkboxes are selected" is the option I went for and I only selected the Check Boxes 1, 2 and 3 from the dropdown menu. So Check Box 4 is not among the options as can be seen from the title of the trigger. It includes only the first 3 check boxes.
However, the variable turns True only after selecting all 4 options, thus including the checkbox 4.
Can you please guide me in understanding this issue and solving it?
Thanks a lot in advance!
- MariaCSStaff
Hi, Can, and welcome to E-Learning Heroes! ✨
Thank you for reaching out! If you can share your .story file, I'm happy to take a look and help you troubleshoot.
In the meantime, I'm attaching an example similar to what you described.
There are four checkboxes, and when the first three are selected, the variable selected123 becomes True.
Let me know if this works!
- CanzkanCommunity Member
Hi Maria, thanks a lot. I formulated the exercise in a different way now and figured it out but I'm glad to have received your solution. It's a very easy and logical way to tackle the problem 🥇
Thanks again.
- WaltHamiltonSuper Hero
Double click that trigger, and you can edit it, adding box 4.
- CanzkanCommunity Member
Hi Walt, thanks for your response. However, I don't want to add box 4 at all. The issue is that although I indicate only the first 3 boxes deliberately (as they're the only correct options), in the Preview mode, the 4th box is asked to be selected for the variable == True 🤷♀️