Welcome to the LimeSurvey Community Forum

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

Pipe reponse from one question to the next?

  • Asyrepha_157860
  • Asyrepha_157860's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
6 years 10 months ago #172307 by Asyrepha_157860
Pipe reponse from one question to the next? was created by Asyrepha_157860


Here's a screenshot of the question type I want to design.

One the first question, I have a filter than enables the selected option in the second question.

My question is, how do I handle the 'Other: [freetext]' option? How I can pipe the answer text into the second question?



Many thanks in advance.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 10 months ago #172311 by tpartner
Replied by tpartner on topic Pipe reponse from one question to the next?
This will return the "Other" text:

Code:
{qCode_other}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Asyrepha_157860
  • Asyrepha_157860's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
6 years 10 months ago #172327 by Asyrepha_157860
Replied by Asyrepha_157860 on topic Pipe reponse from one question to the next?
Thanks tpartner! That did the trick.

A follow up question – is it possible to hide the placeholder answer option when nothing is entered?


The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 10 months ago #172329 by holch
Depending on your LS version you can use sub question relevance to show and hide the subquestion, depending on the fact if there was something answered or not.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 10 months ago - 6 years 10 months ago #172330 by tpartner
Replied by tpartner on topic Pipe reponse from one question to the next?
Yes, exactly.


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 6 years 10 months ago by tpartner.
The topic has been locked.
  • Asyrepha_157860
  • Asyrepha_157860's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
6 years 10 months ago #172364 by Asyrepha_157860
Replied by Asyrepha_157860 on topic Pipe reponse from one question to the next?
Cheers tpartner for all your advice.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose