Forum Discussion
AndrewJGibson
5 months agoCommunity Member
Adding Up RNG Outputs on a Slide in Storyline 360
Basically, I am building an interactive kiosk program that is intended to be used as a pitch accessory when demoing to potential clients. I am working on a screen that breaks down the fees associate...
AndrewHanley
5 months agoCommunity Member
Hi Andrew!
Absolutely, this is relatively easy to do and if it's just adding a series of numbers then you don't even need javascript.
Just set up a NUMBER DATA INPUT FIELD for each value you need.
Then create a NEW NUMERIC VARIABLE and call it "totalCount".
You'll use this to add up and hold the final value.
Then place a TEXT REFERENCE to "totalCount" where ever you need it.
Finally add a trigger that says:
ADJUST VARIABLE. Set totalCount equal to the value of <variable1> and the value of <variable2> etc etc
And that should work!