Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: how to use ranking type question answer in other question?

how to use ranking type question answer in other question? 9 months 1 week ago #100642

  • limesun
  • limesun's Avatar
add one ranking type question,with 5 items:a,b,c,d,e.
suppose participant rank item a as the first, item e as the sencond.then i need to use the ranking result in other question:
you rank a as the first, rank e as the second
.
the problem is: i have no idea how to do it.
The administrator has disabled public write access.

how to use ranking type question answer in other question? 9 months 1 week ago #100749

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4050
  • Thank you received: 740
  • Karma: 341
If the ranking question code is "rank1", then try this:

you rank {rank1_1.shown} as the first, rank {rank1_2.shown} as the second...
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.

how to use ranking type question answer in other question? 9 months 1 week ago #100786

  • limesun
  • limesun's Avatar
the key problem is how to get{first},{second}
The administrator has disabled public write access.

how to use ranking type question answer in other question? 9 months 1 week ago #100803

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4050
  • Thank you received: 740
  • Karma: 341
Did you try it? Those expressions will give the first ranked and second ranked items.
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.

how to use ranking type question answer in other question? 8 months 3 weeks ago #101156

  • mikuhrs
  • mikuhrs's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hello there,

I have an additional question regarding this topic:

After a ranking question, I want to use a the top ranked fruit name (e. g. "apple") in the next question: "Why do you like apple?".

Unfortunately, what I get is an error (s. attachment).

Any ideas what went wrong?

Thanks in advance an best regards

Michael
Attachments:
The administrator has disabled public write access.

how to use ranking type question answer in other question? 8 months 3 weeks ago #101158

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4050
  • Thank you received: 740
  • Karma: 341
What is the question code of your ranking type question?
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.

how to use ranking type question answer in other question? 8 months 3 weeks ago #101159

  • mikuhrs
  • mikuhrs's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hello Tony,

the question code is "Auswahl" (it is in question 2644).

Best regards

Michael
Last Edit: 8 months 3 weeks ago by mikuhrs. Reason: typo
The administrator has disabled public write access.

how to use ranking type question answer in other question? 8 months 3 weeks ago #101160

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4050
  • Thank you received: 740
  • Karma: 341
Then this should work:

{Auswahl_1.shown}
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.

how to use ranking type question answer in other question? 6 months 1 week ago #103508

  • MarcellavZ
  • MarcellavZ's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Hello Tony,

I have a follow-up question on the question ascribed above. I also want to use a answer in the text of the next question. It's a multiple choice question with the option 'other'. Participants need to choose what kind of snack they eat the most and than i want to know what kind of snack specific they eat. I tried the solution you described but when I try it I only see the 'equation' surrounded by thick red lines. The answer isn't coming up in the text. What am I doing wrong? The code of the question is 'gs'.

Thanks!
The administrator has disabled public write access.

how to use ranking type question answer in other question? 6 months 1 week ago #103510

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4050
  • Thank you received: 740
  • Karma: 341
Can you attach a small sample survey?
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.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.191 seconds
Donation Image