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?

More
7 years 2 weeks ago #172307 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.
More
7 years 2 weeks ago #172311 by tpartner
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.
More
7 years 2 weeks ago #172327 by Asyrepha_157860
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.
More
7 years 2 weeks 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.
More
7 years 2 weeks ago - 7 years 2 weeks ago #172330 by tpartner
Yes, exactly.


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 7 years 2 weeks ago by tpartner.
The topic has been locked.
More
7 years 2 weeks ago #172364 by Asyrepha_157860
Cheers tpartner for all your advice.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose