Forum Discussion
BhartiSingh
3 years agoCommunity Member
Adding condition to the numeric variable
Hi there,
I downloaded practice files for numeric variables using the following link.
https://training.articulate.com/webinars/using-number-variables-in-storyline-360
In this link, there is an...
MariaCS
3 years agoStaff
Hi, Bharti.
Thank you for reaching out!
There are a few different ways to accomplish what you're looking to do (limit the times the submit button is clicked, so it doesn't add the calculation to the results each time). Here are two options:
- Set the variables (HoursMonday, HoursTuesday, etc.) to 0 after the submit button is clicked.
- Set submit to disabled once it's clicked.
I'd also create a Clear button in both those scenarios to clear the total (set WeeklyHours to 0), and on the second option, re-enable the button.
I hope this helps!