- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How Can I Recalculate Equasions After Runtime?
- vector01
- Topic Author
- Offline
- New Member
Less
More
9 years 11 months ago #109136
by vector01
How Can I Recalculate Equasions After Runtime? was created by vector01
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!
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 topic has been locked.
- vector01
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 11 months ago #109139
by vector01
Replied by vector01 on topic How Can I Recalculate Equasions After Runtime?
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.
• 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 topic has been locked.
- ordogz
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
8 years 11 months ago #119862
by ordogz
Replied by ordogz on topic How Can I Recalculate Equasions After Runtime?
Hi !
Please could you provide some help in doing these steps (what you already did) : " I've created a few hidden questions with equations that calculate a score based on those answers. " .
My situation is :
I created a Competency assessment survey in limesurvey.The question is, that it's possible to generate statistics and charts based on Limesurvey collected data in such way that the results page should show for the user(or to send it automatically by email) an overall result for each of the question groups chart separately for each group, and below this a chart with the question groups together. In this way the user will know in which competency area is stronger and in which not. The questions are grouped in subquestions with 5 answers(ex: "Not applicable to me", "Rarely", "Usual", "Always"...), the question type used is simple Array type . I set up the answers with assessment values from 1 to 5.
Please help me take the right direction in solving this problem. Thank You !
Please could you provide some help in doing these steps (what you already did) : " I've created a few hidden questions with equations that calculate a score based on those answers. " .
My situation is :
I created a Competency assessment survey in limesurvey.The question is, that it's possible to generate statistics and charts based on Limesurvey collected data in such way that the results page should show for the user(or to send it automatically by email) an overall result for each of the question groups chart separately for each group, and below this a chart with the question groups together. In this way the user will know in which competency area is stronger and in which not. The questions are grouped in subquestions with 5 answers(ex: "Not applicable to me", "Rarely", "Usual", "Always"...), the question type used is simple Array type . I set up the answers with assessment values from 1 to 5.
Please help me take the right direction in solving this problem. Thank You !
The topic has been locked.
- bdg
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 1
8 years 11 months ago #119870
by bdg
Replied by bdg on topic How Can I Recalculate Equasions After Runtime?
Do you want to show a seperate report for each strata? And a combined report? You might have to do some custom php coding for that, and send someone to your own report page when they finish the survey, and pass their token as a parameter. Something like http://..../report.php?token=uicd89d76f. Then your report page reads the LimeSurvey token table to see which group to stratify the user by and summarises the data for that strata, plus all groups.
If you only wanted to report by a single group I would say copy the survey and run one version for each group, but then you can't report all groups combined.
If you only wanted to report by a single group I would say copy the survey and run one version for each group, but then you can't report all groups combined.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
4 years 4 months ago #192308
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic How Can I Recalculate Equasions After Runtime?
Since some people may find this using the search feature: There is a plugin for re-calculating expression results. it is available at
extensions.sondages.pro/export-statistic...sion-for-limesurvey/
but currently it only supports old 2.0xxx versions of Limesurvey.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13645
- Thank you received: 2491
4 years 4 months ago #192322
by DenisChenu
I test on 3.X gitlab.com/SondagesPro/coreAndTools/reco...eExpression/issues/1 some month ago.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic How Can I Recalculate Equasions After Runtime?
Are you sure ?Mazi wrote: but currently it only supports old 2.0xxx versions of Limesurvey.
I test on 3.X gitlab.com/SondagesPro/coreAndTools/reco...eExpression/issues/1 some month ago.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.