Say that I have a list of buttons that change “state” depending on click. Each button represents a choice the user is making, like things they are interested in doing. Users can choose multiple subjects.
Once they chose what they’re interested in clicking these buttons (which change colour based on stage), I want them to submit the choices.
Each button has a state called “selected” with a value of yes or no. I am not sure where to record the actual value of the button, like the name of the topic.
What is the workflow here? I want the submit button to record the list of choices into the user’s database table, right now at a cell called “choices”. In other words, only buttons with a selected value of yes should be submitted - or better - their actual value, which is the name of the topic.
So, the cell, should see “movies, sports, music, technology” for example.