Welcome to the LimeSurvey Community Forum

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

Pipe response text from multiple choice: "Other"

  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 3 months ago #162081 by blocka
I'd like to take the text from a list type question with radio buttons and the optional Other response and I would like to pipe the text that the user provides in the Other field into a subsequent question.

For example my list type question gives three colors to select as their favourite, plus the Option to specify their own colour.

I would like to take the text the participant entered in the Other field and pipe it into a following question like,

What do you like most about the color [replace with color]?
The topic has been locked.
  • elissa
  • elissa's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #162082 by elissa
If the question code is Q1 then in the second question you can put {Q1_other.shown}.

Elzbieta Lesinska
LS voluntary Polish translator and supervisor
The following user(s) said Thank You: blocka
The topic has been locked.
  • blocka
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
6 years 3 months ago #162140 by blocka
Thanks for the suggestion. I tried this, and it doesn't seem to work {Q1_other.shown} is flagged as an undefined variable. See attached LSS example.
The following user(s) said Thank You: zserban
The topic has been locked.
  • elissa
  • elissa's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #162143 by elissa
Hi, you wrote that you want to refer to radio button with other option question. In the attached example you are using multiple choice question with comments. I'm not really sure what you want to pass to the next question but if the other comment you can put: {Q1_SQ003comment.shown}
Cheers

Elzbieta Lesinska
LS voluntary Polish translator and supervisor
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose