Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

variables not filled while within the survey

More
5 years 11 months ago #167623 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
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
5 years 11 months ago #167630 by tammo
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


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
More
5 years 11 months ago #167654 by Ton
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

File Attachment:

File Name: limesurvey...8465.lss
File Size:33 KB
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
5 years 11 months ago #167730 by tammo
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


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
5 years 11 months 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
The topic has been locked.
More
5 years 11 months ago #167755 by Ton
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
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose