Welcome to the LimeSurvey Community Forum

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

Consolidate multiple numerical input questions

  • FabienC
  • FabienC's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 9 months ago #74739 by FabienC
Hi,

I would like to create the following.

Question 1 : distribute a total of 25 points to responses R11 R12 R13
Question 2 : distribute a total of 25 points to responses R21 R22 R23
Question 3 : distribute a total of 25 points to responses R31 R32 R33
...

At the end of the survey, I would like to display the following result.

Total 1 = R11+R23+R32+...
Total 2 = R13+R22+R33+...
Total 3 = R12+R21+R31+...

Is it possible?

Warm regards,
Fabien
The topic has been locked.
  • Steve01
  • Steve01's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 9 months ago #74842 by Steve01
Hello,

if you are using LimeSurvey 1.91+ I think it might be difficult to solve this without the help of more or less complex Javascript methods. I think it might be a good idea to use LimeSurvey 1.92 with the ExpressionManager feature, that should be able to handle it in an elegant way. Though you have to wait until 1.92 is released (which should be at the end of February).

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The following user(s) said Thank You: FabienC
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
12 years 9 months ago #74919 by Mazi
In general you can use assessments for this. Problem is that the multiple numerical input question type, which fits best for this requirement, isn't supported at assessments yet :-(

So you can either test this at the upcoming Limesurvey 1.92 version and use the Expresssion Manager to calculate the values (see docs.limesurvey.org/Expression+Manager+H..._Assessment_Examples ) or if you want to use Limesurvey 1.91 or older, you have to code a small analysis script to which the user is forwarded at the end of the survey. The script gets passed some IDs, reads out the users answers and then does the according calculations and shows the results to the user.

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.
  • FabienC
  • FabienC's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 11 months ago #102479 by FabienC
Hi,

I am back ! Is there an easy (or not so eay way) to do this with version 2?

Thanks,
Fabien
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 11 months ago #102482 by tpartner
Replied by tpartner on topic Consolidate multiple numerical input questions
Yes, you can use Expression Manager to pipe those values into a Text Display question - www.limesurvey.org/manual/Expression_Manager#Tailoring.2FPiping

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose