Is it possible to save information from a togglerbartoggler bar to a variable oncewhen a button is clicked?
Example:
I have a togglerbartoggler bar with boxes eachits buttons numbered, say 1–4. If someone pressesWhen I press on a the first box containing the numberbutton showing 1, I would like to savehave 1 saved to variable x and ifx
. When I press the box containing value 4button showing 2 is pressed it will save that value, I would like 2 saved to variable yy
. Thanks in advance!And so on.