Welcome, Guest
Username: Password: Remember me

TOPIC: How Can I Recalculate Equasions After Runtime?

How Can I Recalculate Equasions After Runtime? 3 months 1 week ago #109136

  • vector
  • vector's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
Hi Everyone,
When someone takes a survey, I've created a few hidden questions with equations that calculate a score based on those answers. Problem is, those results are only stored after the survey is complete. Sometimes though, I'd like to be able to change some of their answers, which would obviously change the score. How can I get limesurvey to recalculate the results after the survey has completed? Hopefully that makes sense.

Thanks!
The administrator has disabled public write access.

How Can I Recalculate Equasions After Runtime? 3 months 1 week ago #109139

  • vector
  • vector's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
So actually I half-way figured this out.

• Go to survey participants page, find the participant in question and click edit.
• Change "completed" filed to "n"
• Change "uses left" to 1
• Save
• Go to "data view control" page
• Find record, then click on the gear icon, then re-complete the survey with the new values.

There will be two survey's now in your data-vew page. Just delete the first one. It's an imperfect process but that should be okay anyway.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.101 seconds
Donation Image