Adding and subtracting variable count in a radial button set
Jun 27, 2023
By
Sarah Flynn
Hi all, I have a series of three radial buttons in a set. I have set a variable to add a value depending on which button is selected. My problem is I need them to be able to select a different radial button in the set if they change their mind, so the variable needs to adjust accordingly. For example, if they select the first radial in the button set, it adds a value of three to the variable. If they select the second radial, it adds a value of four. So if they select the first radial, then change their mind and decide to select the second radial instead, is there a way to subtract three, then add four to the variable based on the change in selection?
Thanks!
4 Replies
an idea:
Here's a tutorial with a file attached. Hope that helps.
https://360.articulate.com/review/content/77dbcfd2-cefd-4659-9954-d2a69b87291c/review
Do they press a submit button? If yes then add the maths to the submit button based on the state.
OR Add the calculation to a layer e.g.
Set variable to 0
Add 1 if 1 selected
Add 2 if 2 selected
Add three if 3 selected.
Then add a trigger to show layer on each radio button
That tutorial is awesome, thank you so much for the file, it does exactly what I need it to. And great idea about the submit button tie-in!
Y'all are great. Thanks. :)