Forum Discussion
Storyline Radio Buttons
Hi Judy, I'm having the same issue as Vicky was. I utilized your TIP: Track Responses to Custom Questions or Surveys - Articulate Storyline Discussions - E-Learning Heroes sheet to get me to this point, but I cannot seem to allow my learners to get an accurate total if they choose to change an answers. Similarly to Vicky, if a user clicks 2 then changes their mind to click one, it counts both scores in the total. I have included my .story file for reference and assistance.
The button triggers in your file all "Add value __." Well, that means the variable's value will keep getting bigger and bigger with every click.
Look closely at the demo file in my TIPS post:
- Each button set has its own variable.
- For each button, the trigger sets the value of the variable for that button set to a specified amount. (It doesn't add to the variable.)
- On the Feedback slide, the first trigger (re)sets the score variable to 0. That's followed by the triggers that add the appropriate variable values to the score variable.
In your case, you want separate scores for the blue, orange, green, purple, and red questions.
- The triggers to reset the scoring variable to 0 and then add the values from the button sets could go on a custom "submit these answers" button.
- Or they could go on the Next button. If you put then on the Next button, be sure they come before the trigger that jumps to the next slide.
- Or you could just do all of the scoring on the feedback slide.
I highly recommend that give you all buttons and variables meaningful names. That would make programming and troubleshooting so much easier.
I also recommend that you add temporary references to the variables on the slides, like I did in the demo file. That helps you see whether the triggers are working as expected.