Forum Discussion
ChristinaWor667
3 years agoCommunity Member
Progress Status
I saw an email about using sliders and progress indicators and thought it would be great to add that to one of my courses. I have the progress graphic with 7 states. The problem I have is that I h...
JudyNollet
Super Hero
You need to use variables and trigger conditions to avoid adding to the progress-count variable (let's call it "Progress") when a user repeats a given item.
For example, suppose you want to add 1 to the Progress variable when the user clicks a certain button—but only the first time they click it.
- Create a T/F variable (let's call it "doneItem1") to track whether or not the user clicked the button. This variable's default value should be False.
- In the trigger that adds 1 to Progress when the button is clicked, add a condition so it only runs if doneItem1 = False.
- After that trigger, add a trigger that adjusts doneItem1 to True when the button is clicked. That will prevent the previous trigger from running the next time the user clicks the button. Thus, the Progress variable will not be changed.
If you need more info about conditions and variables, you can find it in these User Guide articles:
cherylpowers-33
2 years agoCommunity Member
Thank you so much for your reply. I will go take try to implement this, and test it, and view the resources you suggested.
Appreciate your prompt reply and information!
-Cheryl Powers