Forum Discussion
MarkHoffman-3fe
4 years agoCommunity Member
Radio Buttons for Likert Scale
Good afternoon heroes!
I'm making a likert scale interaction for five different questions per slide. I built it so that it totals at the bottom but what I'm having issues with is that each radio b...
JudyNollet
4 years agoSuper Hero
Hi, Mark,
Here are some suggestions:
- Remove the Visited state from all of the radio buttons. You just need the Selected state to indicate the selected buttons.
- Also note that with built-in states such as Visited and Selected, you don't need triggers to change to those states. An object with a Visited state will automatically switch to that when clicked. An object with a Selected state will toggle between Selected and Normal (or Selected & Visited) when clicked. Add triggers to do what the program already does is more likely to cause problems.
- Currently, it looks like all the buttons are in the same button set. There should be a separate button set for each row. That will let the built-in functionality do its job of only letting one button in a given row be selected at a time.
- You should also use a separate variable for each row. Adjust those variables with triggers attached to the associated buttons. For example, the button 1 in row 1 sets the corresponding variable to 1.
- The easiest fix for the addition problem is to have a separate button to add all the row variables after the user has selected an item in each row.
- However, if you really want to calculate on the fly, you could this:
- Add a blank layer that will reset to initial state when revisiting.
- On that layer, add triggers for calculating a Total variable when the timeline begins.
- Start with a trigger that sets the Total to 0. Then have triggers to add the value of each row variable.
- Add a trigger to each button that shows the calculation layer. Then the layer's timeline will restart, and it will run all the Total calculation triggers.
- Put those calculation triggers on a layer means you don't have to put them all on every button.
BTW, here's my post about tracking custom surveys:
Related Content
- 5 days ago