Forum Discussion
How to link sliders for an interactive budgeting activity
Hi People,
My SME has a great idea for an interactive budgeting activity where the learner move 5 sliders, one for each budget category to see how adjusting one might affect the total much like this:
I've been able to get only a little way with the help of Copilot and some videos but they all appear to earlier versions of the trigger wizards and I am a bit stumped with how to do things like:
- Calculate the total (an area where any tutorials I have seen seem to be older versions)
- Prevent a slider from exceeding the total
Criteria:
- Each slider value should be no more than 100
- The sum of the slider values should be no more than 100
I've attached the project file for reference to my lack of skills in this area.
Andrew
Have a look at the attached example and see if that gets you started. I added triggers to ensure that the remaining budget is recalculated every time a slidervariable changes. If the budget is exceeded, a warning layer is shown and then the slider that was moved last is set to the maximum allowable value. Hope that's what you wanted.
2 Replies
- MichaelHinzeCommunity Member
Have a look at the attached example and see if that gets you started. I added triggers to ensure that the remaining budget is recalculated every time a slidervariable changes. If the budget is exceeded, a warning layer is shown and then the slider that was moved last is set to the maximum allowable value. Hope that's what you wanted.
- AndrewGlennie-3Community Member
Thank you so much Michael. Exactly what I was looking for. I'm thinking your work might be a good example to post in the Examples section.
Related Content
- 1 year ago