Calculating a Total Based on Numeric Values Jun 30, 2023 By Mindy Horton I am using Storyline and I want to click a button called "Total" and have it add all numerical values to present a total. I cannot figure out how to get the triggers to do this or how to use the Quiz function to make it work. Help! Active_Listening_Listening_Awareness_Inventory.story
Hon Lai 10 months ago06/30/23 at 3:42 pm (UTC) Hi Mindy, I've attached your file with some updated triggers to allow you to calculate your score. Essentially, I've added a few triggers to calculate the score when you press the "Total" button. These are just adding each variable to "TotalRank". The triggers do need the "If Numeric entry > 0" statements to avoid errors. You can make the "Total" button turn to a disabled state if you only want the user to only have 1 attempt. Active_Listening_Listening_Awareness_Inventory_HL.story
1 Reply
Hi Mindy,
I've attached your file with some updated triggers to allow you to calculate your score.
Essentially, I've added a few triggers to calculate the score when you press the "Total" button. These are just adding each variable to "TotalRank".
The triggers do need the "If Numeric entry > 0" statements to avoid errors.
You can make the "Total" button turn to a disabled state if you only want the user to only have 1 attempt.