לוחות מודעות לוחות מודעות

חזרה

Storing Checkbox Items in a Variable

מתג
Storing Checkbox Items in a Variable
תשובה
18:20 14/01/20
Hello!  Is there a way to save all selected items in a set of checkboxes to a variable? For instance, if a user chooses multiple options from a set of checkboxes, I'd like to have the choices listed later on in the lesson.  Is this possible?  
Thanks! Scott
0 (0 הצבעות)

RE: Storing Checkbox Items in a Variable
תשובה
19:49 14/01/20 כתגובה ל-Scott Sheridan
Hi Scott,
Thanks for posting this on the forum!

Here's how you can store just the selected index(es) (say you want to leave and come back to the page and re-populate the same checkbox object, or you have a simliar checkbox on another page) - https://www.screencast.com/t/YoNsU8H7rwY

Here's how you can get the actual label text of the selected items from a checkbox - https://www.screencast.com/t/eKMojzZo6gB

Hope that helps!
0 (0 הצבעות)