Storyline Radio Buttons
May 15, 2024
By
Vicky Kennie
Hi! Wondering if anyone can help. I've set up a questionnaire to gauge confidence in something from 1 - 5 on each question.
Set a trigger on the submit button to count up which radio button is clicked and then give appropriate layer at end depending on score.
Question is, how do I stop the count from registering multiple radio buttons if a delegate clicks between different radio buttons before hitting submit?
For example if i click 4 , but then change my mind and decide actually 3 then my count trigger is adding 7.
Any suggestions would be greatly appreciated :)
7 Replies
If the trigger doesn't run until the user clicks Submit, it shouldn't matter whether the user clicked multiple buttons. It should only matter which buttons are selected when the trigger runs.
Troubleshooting is just guessing without seeing the .story file. If you upload it, someone might be able to solve the issue. Here are the best practices for uploading a .story file:
I understand you have a multiple-choice type of question with five radio buttons, all grouped within a button set. Why calculate anything when you can directly set a score upon clicking any radio button? For instance, if you click Radio button 1, set the score to "1"; if you click Radio button 2, set the score to "2," and so forth. Then, upon clicking the Submit button, display different layers based on the value of the score variable. Calculations (adding and subtracting from the score variable value) would be more relevant if you had a multiple-response type of question where you can select and deselect multiple checkboxes simultaneously.
What Nedim says is dependent on you selecting all the buttons for a question and setting them as a button set. That way, only one can be selected at a time.
Hi!
I have created a template with a similar test. You can view it at this link.
https://community.articulate.com/discussions/building-better-courses/hall-s-emotional-intelligence-test-template-in-articulate-storyline
The post includes a YouTube video that explains how this template work. Video have English subtitles
Thanks, this video is very helpful!
It looks as if I did then individual radio buttons but haven't set them together.
I have one statement per page from 1 - 5 not confident - confident.
Trying to get the count from the individual statements for an overall score at the end.
Hi Vicky!
Glad to see the community has been helping you!
As Judy shared, offering input on your design would be easier if we could see the .story file you've built out so far. Do you mind sharing a copy here in the discussion or privately through a support case?
Looking forward to hearing from you!
If you're still trying to figure out how to determine a "score" based on the selected statements, this post might help: TIP: Track Responses to Custom Questions or Surveys - Articulate Storyline Discussions - E-Learning Heroes
As I said before:
Troubleshooting is just guessing without seeing the .story file. If you upload it, someone might be able to solve the issue. Here are the best practices for uploading a .story file: