Welcome to the LimeSurvey Community Forum

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

Use the answers of a ranking questions in a question later in the survey

  • urbana
  • urbana's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 9 months ago #170366 by urbana
Hi, I have a ranking question - as next question I want to present the top 5 of this ranking.
How can I get that?
Haven't found anything sorry perhaps it's easy and I am just blind.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170369 by tpartner
If you want the answer codes, it would be:
Code:
{qCode_1}
Code:
{qCode_2}
Code:
{qCode_3}
...

If you want the answer labels, it would be:
Code:
{qCode_1.shown}
Code:
{qCode_2.shown}
Code:
{qCode_3.shown}
...

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: urbana
The topic has been locked.
  • urbana
  • urbana's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 9 months ago #170370 by urbana
I found that in the manual but thought 1,2,3 etc referrs to the answer id. But as I understand you it is the first place the second etc
Thx as always the answer is easy sorry that I had to ask
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose