Need help with a variable issue
Sep 03, 2015
By
Mark Heid
I have a results page that needs to display an average. I created two variables, one for the "points total" and one for the "number of times points submitted". I then have a trigger that divides the "points total" by "#of times submitted" when the timeline starts on the results page to calculate the "average". My problem is that the user needs to revisit the results page multiple times, so the trigger recalculates the average again giving a smaller, inaccurate average when the user comes back a second, third time.
I have no idea how to remedy this. Any thoughts?
7 Replies
Hi Mark!
What if you adjusted the slide property to 'resume saved state' when revisiting (article here) - does that help?
Keepin' the joy,
Patti
I will give that a shot. Thank you Patti!
Glad that Patti was able to pop in and assist you here Mark, just let us know if you need anything further.
Tried that and it still recalculates again. Thank you though. Any other thoughts?
Would you be able to share the .story file so that we could take a look Mark?
Leslie, been meaning to reply. I did figure out a solution that worked. I just had to have the module calculate the average earlier in the module and it solved the problem. Thank you!
Thanks for the update Mark :) Glad you were able to get this working for you.
This discussion is closed. You can start a new discussion or contact Articulate Support.