Toggling a checkbox variable
Aug 09, 2013
By
Noelle T
Hi everyone,
I am creating a list of actions with a checkbox beside each item. The user would check off the items they wish to work on. I have a T/F variable attached to each checkbox that will reveal information the next page according to the state of the variable.
My problem is this: If a user checks off one of the boxes (changing the varible from T to F) and then changes their mind and unchecks it-- the variable stays T. Is there a way to toggle it back and forth? (check = T uncheck = F)
10 Replies
Edited to erase a wrong answer on my part.
you only need one trigger for a T/F variable set it to not assignment and it will toggle
Thanks so much, Phil!
I was just coming back here to say my solution didn't work afterall. I had no idea that the "not assignment" option was even there, let alone what it meant. Learned something new today!
Please help me to achieve the following - I have a checkbox quiz (pick many) set on one page, and depending on which boxes user clicks - he will be shown the following pages. So if we have 3 checkboxes (abc), and he clicks all of them, he will be shown page 3, 4 & 5 - one after another. If he clicks (a) and (c) he will be shown 3 and 5 - one after another. And if he clicks only (c) - he will be shown only that page. Please explain me how to do that? I've been puzzling over this for some time - no results.
As I understood from this topic, I need to use T\F triggers with "No assignment", so the checkboxes got toggled only when the user presses "Next" button.
Hi Jay
if you've got a file started can you share it - makes it easier for people to help you with a solution that is specific to your setup if we can work with the file.
Sorry, cannot share the file, its sort of confidential. Let me show you the slides schematic I've got (see the picture). Its all "pick many" interaction. And in case a user chooses a) - he goes only through a) line. But if he chooses a) & b), he goes through both lines, one after another. Or if he chooses a) & c) same for those lines.
Hi Jay
Flying blind a bit here with your setup but here goes - this sample is based on a pick one freeform slide and using the default submit button.
My triggers are changing the variable once the submit button is clicked so there is no toggle needed to adjust the variable, as the variable doesn't change until submit is clicked.
Hope this helps or gives you an idea of how to do it
Wow, that is so great! You did it! Ton of thanks!
Glad that will help Jay - good luck with your project it looks complex 😀
Six years later, this is exactly what I was looking for :)
This discussion is closed. You can start a new discussion or contact Articulate Support.