Welcome to the LimeSurvey Community Forum

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

Piping 'other' answers from two questions

  • Florian_Hannover
  • Florian_Hannover's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #181006 by Florian_Hannover
Piping 'other' answers from two questions was created by Florian_Hannover
Hi everyone,

I have created two questions, each containing 'other' fields.
In a 3rd question, I would like to pipe in the items selected in the first two questions.

Unfortunately, as the other questions have identical item numbers 'other' I can not use both other fields in this question.
But as I understand, I can not rename the other item name.

Do you have any ideas how to solve this?

Thank you very much,
Florian
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago - 5 years 2 months ago #181016 by Joffm
Replied by Joffm on topic Piping 'other' answers from two questions
Hi,

you pipe them by adding {Q1_other} resp. {Q2_other}



Though you didn't mention which question types you are using.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 years 2 months ago by Joffm.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Florian_Hannover
  • Florian_Hannover's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago - 5 years 2 months ago #181023 by Florian_Hannover
Replied by Florian_Hannover on topic Piping 'other' answers from two questions
Hi Joffm,

thank you very much for your reply. I am using multiple choice for the first two questions and a single choice for the 3rd one.

It's not only about piping the text from the other fields, but it's also about using array filters to display those items only if they have been filled.

So in the 3rd question only those items ticked in the first two questions should be displayed. Unfortunately, the item numbers have to be identical in all questions. Hope you understand what I mean.

Best,
Florian
Last edit: 5 years 2 months ago by Florian_Hannover.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago - 5 years 2 months ago #181025 by Joffm
Replied by Joffm on topic Piping 'other' answers from two questions
Hi, here is a solution.

File Attachment:

File Name: limesurvey...8821.lss
File Size:36 KB


Item codes can be identical. Just adapt the equation and M1 resp Q3.

Otherwise send your *.lss

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 years 2 months ago by Joffm.
The following user(s) said Thank You: Florian_Hannover
The topic has been locked.
  • Florian_Hannover
  • Florian_Hannover's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago #181028 by Florian_Hannover
Replied by Florian_Hannover on topic Piping 'other' answers from two questions
Hi Joffm,

that is truly exactly what I was looking for!
Using a hidden question to fill the array filter is great. I didn't have this in mind, but that works perfectly.

But just to make it sure: it is not possible to manage this requirement without using the hidden equation 'question'? Correct?

Thank you very much,
Florian
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 2 months ago #181031 by Joffm
Replied by Joffm on topic Piping 'other' answers from two questions
Hi, Florian,

I don't know.

I like this way, especially because there is no subquestion relevance in single punch questions.
And we see the demand for a filtering single -> single many times here in the forum.

All the best
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Florian_Hannover
The topic has been locked.
  • Florian_Hannover
  • Florian_Hannover's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago - 5 years 2 months ago #181038 by Florian_Hannover
Replied by Florian_Hannover on topic Piping 'other' answers from two questions
Hi Joffm,

that is true.
Unfortunately, when I adapt my questionnaire to your structure, I struggle.

The Q60 equation does not work. It should pipe in the item selected in Q50 (or Q41/Q42). But I only get the equestion displayed.


Attached the survey structure. Q41+Q42 includes the open question. The questions Q45XX ask for the most detailed drivers. Q50 asks for the most important driver.


Thank you very much,
Florian
Last edit: 5 years 2 months ago by Florian_Hannover.
The topic has been locked.
  • Florian_Hannover
  • Florian_Hannover's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #181081 by Florian_Hannover
Replied by Florian_Hannover on topic Piping 'other' answers from two questions
I managed to solve this issue. Now everything works perfectly fine.

Thank you very much!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago #181093 by Joffm
Replied by Joffm on topic Piping 'other' answers from two questions
Hi, Florian,

just a few other option to display your "problem" question.

1. Filter: Q41 and Q42


2. Described here: manual.limesurvey.org/Workarounds:_Manip..._options.22_question

Clicking displays a second level

Attachment not found



Just to show

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose