Numeric Field Entry: Math Calculation
Hello Everyone,
Reaching out as I have a little experience with Storyline, however not enough to fill in the blanks of what I'm trying to achieve. I am hoping someone can tell me if this is even possible, and if kind enough point me in the right direction.
The Task:
1. The learner inputs into 7 numeric entry fields to represent the number of times they complete a task each day of the week.
2. Then the 7 fields add to equal the total number of times a week they do this task.
3. Then the total number of times per week they complete the task is divided by 0.6 to provide the learner with 60% of their total number.
What have I tried:
1. I've started out trying to keep it simple with two numeric data entry fields which add together (triggered by a button) to provide a total. (Adjust Variable - Add Figure1 to Figure 2). This all works and the calculation totals into the Figure 2 numeric field.
2. Then I used references (as taught in this video https://youtu.be/NKL1ZAROBQE) to pass the value (to keep Figure1 the same.
However, at this point, it all goes wrong; sometimes I get a NaN error; other times I can't even explain what I've done!? After way too long staring at it and troubleshooting. I cannot work out what I'm doing wrong!
If anyone has any experience or could please provide me with any support in making this achievable; I'd be very grateful!
Sarah