- Posts: 15
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
variables not filled while within the survey
- Ton
- Topic Author
- Offline
- New Member
Less
More
6 years 6 days ago #167623
by Ton
variables not filled while within the survey was created by Ton
Hi, we use Lime Survey for self assessment of persons with psychological problems.
We just upgraded to v3 and are now testing our surveys on this new release.
We use a lot of counters (equation type questions) in our surveys.
Depending on the answers given we assign a score (in answer options).
We total the score in an equation type question which normally does not display (e.g. variable "CALC")
Based on that total score of a question group different texts appears on screen (e.g. variable "CONCLUSION")
We do this by using an equation type variable with multiple "if statements".
This all worked fine in v2.
During testing I notice that the variable totalling the scores (CALC) fills okay while answering questions, but when I try to display that value in a text (CONCLUSION) it does not show correctly. The only way to display the value of the variable is to include the same definition of CALC in the CONCLUSION as an equation in the Logic tab of the definition.
Did something change in the way variables are filled in v3 vs v2 ? Or is this a matter of setup of the system on our server or the setup of Lime Survey that I missed ?
Thanks a lot for helping me out.
Ragrds, Ton
We just upgraded to v3 and are now testing our surveys on this new release.
We use a lot of counters (equation type questions) in our surveys.
Depending on the answers given we assign a score (in answer options).
We total the score in an equation type question which normally does not display (e.g. variable "CALC")
Based on that total score of a question group different texts appears on screen (e.g. variable "CONCLUSION")
We do this by using an equation type variable with multiple "if statements".
This all worked fine in v2.
During testing I notice that the variable totalling the scores (CALC) fills okay while answering questions, but when I try to display that value in a text (CONCLUSION) it does not show correctly. The only way to display the value of the variable is to include the same definition of CALC in the CONCLUSION as an equation in the Logic tab of the definition.
Did something change in the way variables are filled in v3 vs v2 ? Or is this a matter of setup of the system on our server or the setup of Lime Survey that I missed ?
Thanks a lot for helping me out.
Ragrds, Ton
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 967
- Thank you received: 220
6 years 6 days ago #167630
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic variables not filled while within the survey
Hi Ton,
could you attach a short survey that shows this problem?
Please leave out all questions that are not needed to show the problem.
Tammo
could you attach a short survey that shows this problem?
Please leave out all questions that are not needed to show the problem.
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- Ton
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
6 years 5 days ago #167654
by Ton
Replied by Ton on topic variables not filled while within the survey
Hi Tammo.
Thanks for replying so quickly !
Attached the short example survey.
I hope you find out what's going on and that it may help other users as well.
Have a great weekend.
Regards, Ton
Thanks for replying so quickly !
Attached the short example survey.
I hope you find out what's going on and that it may help other users as well.
Have a great weekend.
Regards, Ton
Attachments:
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 967
- Thank you received: 220
6 years 3 days ago #167730
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic variables not filled while within the survey
Ton,
I have experimented with this and you are right, possibly it is (at this moment) impossible to "inherit" variables in a page.
Problem description
q1: normal question
q2: calculation based on q1
q3: further calculations on q2
q3 does not seem to be able to access q2
Does anyone else have a solution?
Tammo ter Hark
I have experimented with this and you are right, possibly it is (at this moment) impossible to "inherit" variables in a page.
Problem description
q1: normal question
q2: calculation based on q1
q3: further calculations on q2
q3 does not seem to be able to access q2
Does anyone else have a solution?
Tammo ter Hark
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- LouisGac
- Visitor
6 years 3 days ago #167734
by LouisGac
Replied by LouisGac on topic variables not filled while within the survey
I'll have a look to it.
We must release LS3 to ComfortUpdate, then I'll fix this bug.
The fix will be available in the week
We must release LS3 to ComfortUpdate, then I'll fix this bug.
The fix will be available in the week
The topic has been locked.
- Ton
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
6 years 3 days ago #167755
by Ton
Replied by Ton on topic variables not filled while within the survey
Dear Tammo and Louis,
Thanks for looking into the matter.
I am already happy that I did not do anything wrong... looking forward to your solution.
Regards, Ton
Thanks for looking into the matter.
I am already happy that I did not do anything wrong... looking forward to your solution.
Regards, Ton
The topic has been locked.