Check Box Built-in States
Oct 05, 2013
I am using a series of check boxes where learners check off statements that they think meet a certain criteria. This is not a quiz slide. I want to be able to make sure they check at least one box before proceeding to the answer display.
I am using a standard check box control. The state of these check boxes changes to "Selected" when clicked and when the checkmark displays in the box. However, when you click the check box a second time, the checkmark disappears, but the state does not change to Normal. It appears that the check boxes toggle to checked/unchecked, but the state of the control does not change once it has been selected the first time.
So, if a user clicks a few boxes, then unchecks them, the state is still recorded as "Selected."
I cannot find any reference on how the built-in button states work. Is there any information available?
31 Replies
This seems like an odd behaviour for checkboxes. See attached file with three check boxes. You can select/unselect them at will; only when at least one of the three check boxes is selected, can I advance to the next slide. Maybe you can post your file here, so that we can see what's going on.
Normal is a state I never evaluate in a condition becuase all states are variations of normal.
If you need a condition for checkboxes I would use equal to selected or not equal to selected.
A checkbox is only selected when checked and not selected when unchecked
Thanks for the replies!
When I test the button state for "not selected," that seems to be the key.
Hi Rebecca! Looks like Phil and Michael are taking care of you here. Did you need anything further or did these tips assist you?
I had a heck of a time getting a similar checkbox controlled knowledge check page working for me in a current project. Below is a screenshot of the page. The learner had to select a checkbox from either column (May or Must) to answer each question. When they were done selecting they would click submit to check their answers. If they were correct, a CORRECT layer would be displayed. If they were incorrect a TRY AGAIN layer would be displayed and they could try again until they got it correct.
After a lot of trial and error it finally came down to two evaluation types of triggers. One for each layer (CORRECT and TRY AGAIN). However the logic within the triggers is what took me so long to figure out. Now that I have it figured out you can bet I will save it for future reference. And I thought I would share with you all in case it might be helpful in the future.
I have attached the Storyline file so you can see the trigger logic.
Also, the correct answers for the questions are:
A, B, E - May
C, D, F - Must
Thanks for sharing Mike
Does this mean that I cannot set a trigger to uncheck a box? I have two columns of check boxes which are all set to initial state of "disabled". If button 1 is selected, column 1 of checkboxes is triggered to normal state. If button 2 is selected, column 2 of checkboxes is triggered to normal state and column 1 is triggered to return to disabled state. I was hoping that when column 1 returned to disabled that the boxes that had been previously check would now appear as unchecked, but that is not the case. I found that the only trigger that would uncheck them is by returning their state to "normal". However, by returning their state to "normal" the user can now check it again even if button 1 is not selected.
Is there a way to set a trigger to uncheck a box AND have it be disabled at the same time?
I figured it out after asking the question. I have to set a trigger to return the check box to normal and another trigger to also set it to disabled. This unchecks the box AND stops the user from selecting it
Thanks Herminia for updating us and glad you were able to figure it out!
This is such a helpful question to me. Among all the button controls, I am also feel so troublesome with checkbox control state. It is so insightful, hope there are more questions regarding the details of control utilizing be presented out.
I'm having problems with checkboxes too.
When I set a variable to "true" when the box is checked, I can't get it to re-set when the state of the box changes again. Setting it to "false" when the state of the box is "normal" doesn't work, nor does setting it to false when the state of the box is NOT "selected. See attached. Hope someone can help with this. It seems like odd behavior.
The attachments above both use the "conditions" box to reference the state of the check box, but if you see my very simple demo slide, it doesn't work when you try to use the state of the check box in other ways.
@Bethany: Have a look at the attached revised file and see if that's what you want. I replaced the triggers in slide 1.1. with a NOT Assignment trigger that toggles the variable each time the check box is clicked.
Yes, that does it! Thank you!
-Beth
Thanks Michael for assisting Bethany here and I'm glad that helped!
I am using multiple response quiz to serve as a knowledge check, so there would be no scoring for these. I wanted to know if there is a way to change the functionality of the check boxes as below.
When users select their options and submit their answers, their check boxes should show "X" instead of a "tick" depending on the correct/incorrect answers they selected along with the feedback boxes.
Please let me know if this can be done. Thanks in advance
Hi Suraj,
You wouldn't be able to do this using the standard multiple response question type, as those checkboxes have a set style associated with them. But you could create your own custom checkboxes that include an X as a part of the selected state.
are there any tutorials for creating your own custom check boxes?
Even if i create them, how do i set the state of the check boxes to show the result after anyone clicks submit?
Sorry for asking too many questions
Hi Suraj,
No apologies necessary - that's what we're here for.
It's definitely a bit more involved and a custom set up - there isn't a tutorial specific to text boxes, but you'll want to create states for shapes or images as described here. Using the predefined shape states as shown here will also be helpful to indicate something is "selected". And then, I'd set this all up as one pick many/pick one question type so that it still is a tracked question and you can provide feedback etc.
Hope that helps!
Hi Suraj
To create a custom checkbox, you just need to create an object that has a selected state:
https://community.articulate.com/series/5/articles/adding-and-editing-states
For what you want to do you will need to add an additional state "feedback". You can put the trigger to show this state on the submit button.
Change state of "button1" to "feedback" when user clicks "submit" if "button1" is "== Equal to" selected.
Just add this trigger for each button that needs feedback.
Hope this helps.
Thanks Ashley! I will try this out.
Thanks Deanna,
Will tryout these and post it if i am successful! :)
Thanks teacher ^^ .
Glad that this thread was able to assist you as well Mohammed.
Welcome to E-Learning Heroes :)
Thank u Leslie ^^ I have the honor to be among you .
Thanks so much, Mike!