Forum Discussion
MindyHorton
3 years agoCommunity Member
Calculating a Total Based on Numeric Values
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!
1 Reply
- HonLaiCommunity Member
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.
Related Content
- 8 months ago