Forum Discussion
Is there a way to get all selected checkboxes?
- 2 months ago
If you want to display the selected items as a list, without the extra spacing, you could just set a text variable for each one to the label value if the box is checked, and empty("") if it is not. Then create a text box to display the list of variables (e.g., "%item_1%%item_2%...%item_6%". Include any separators with the label text (e.g., item_1 = "Find a Solution, "). You will have a list of only those items that were checked.
I don't have the software at hand to try now.
I was thinking about creating true and false variables as monitors, but I wonder if it is possible to
When user click feedbackButton, set state of checkbox 1 to hidden
if state of checkbox 1 is not selcted;
or
When user click feedbackButton, set value of (new) variable customFeedback to [custom text value]
if state of checkbox 1 is selected and/or state of checkbox 2 is selected;