Welcome, Guest
Username: Password: Remember me

TOPIC: Consolidate multiple numerical input questions

Consolidate multiple numerical input questions 2 years 7 months ago #74739

  • FabienC
  • FabienC's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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 administrator has disabled public write access.

Aw: Consolidate multiple numerical input questions 2 years 7 months ago #74842

  • Steve
  • Steve's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
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 administrator has disabled public write access.
The following user(s) said Thank You: FabienC

Re: Aw: Consolidate multiple numerical input questions 2 years 6 months ago #74919

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
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
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Consolidate multiple numerical input questions 9 months 1 week ago #102479

  • FabienC
  • FabienC's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi,

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

Thanks,
Fabien
The administrator has disabled public write access.

Consolidate multiple numerical input questions 9 months 1 week ago #102482

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4195
  • Thank you received: 789
  • Karma: 359
Yes, you can use Expression Manager to pipe those values into a Text Display question - manual.limesurvey.org/Expression_Manager#Tailoring.2FPiping
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.122 seconds
Donation Image