Forum Discussion
Assistance with Results Testing
Your button trigger to adjust the value of the RetryMe variable will set that value to 1. That means the value will always = 1 after the user clicks the button.
Since you want to count all attempts, that trigger should add 1 to that value. In the Trigger Wizard, click "Set" to find the "Add" option. You should end up with something like this:
- KirstenSmith-5b3 years agoCommunity Member
Thank you! I don't know how I missed that. It's always the obvious fixes that are the least obvious when you stare at something as long as I stared at my variables. :)
- JudyNollet3 years agoSuper Hero
Yeah, it's always hard to edit one's own stuff (programming or writing). :-)
For troubleshooting that involves variables, it's always a good idea to add a text box to the slide that shows the variable reference. Then you can see whether or not the variable is changing as expected. Because those simple mistakes in the trigger are all-too-easy to make...