Welcome to the LimeSurvey Community Forum

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

How to get Other value from previous question and put it in next question

  • jajas
  • jajas's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 8 months ago #123024 by jajas
Dear Lime support team,

I have two question:
Q1. Please mention online shop that you have been bought something [single question]
A1. Amazon.com
A2. Alibaba.com
Other____

Q2. When you last time shopping in [other_value] <== this value base on Q1 answer

Explanation:
When i choosed answer A1 & A2 (radio button type) its work fine. but when i choose Other,
its only "-oth-" that shown in the question.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #123030 by tpartner
I think you need to access Q1_other. So, something like this:

Code:
{if(!is_empty(Q1_other), Q1_other, Q1.shown)}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose