Welcome, Guest
Username: Password: Remember me

TOPIC: Piping from short text to array

Piping from short text to array 2 years 9 months ago #67122

  • ogonek
  • ogonek's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
I want to use the answers from the Question 1 (multiple free short text entries) as a subquetsions in the Question 2 (multiple array 5-poit choice or semantic differential).

For example, Question 1 "Name 5 fruits that you like", and in the Question 2 respondent will see the list of 5 fruits that named and will have to rate their sweetness.

Is it possible?

Thanks a lot.
The administrator has disabled public write access.

Re: Piping from short text to array 2 years 9 months ago #67149

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5302
  • Thank you received: 291
  • Karma: 247
This isn't possible yet. At the next Limesurvey 2.0 version we might have implemented such a logic.

In the meantime you can work around it by either using conditions or using predefined answers at a multiple choice question and then using the array filter question attribute: docs.limesurvey.org/Advanced+question+se...eSurvey#array_filter

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: ogonek

Re: Piping from short text to array 2 years 9 months ago #67156

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4072
  • Thank you received: 748
  • Karma: 341
I think you can use {INSERTANS} to pipe the answers from Q1 to the subquestions of Q2 and then a little JavaScript to hide all rows of Q2 with "No answer" displayed.

There is a post somewhere around here that describes how to do it but I can't find it...
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: ogonek
Moderators: ITEd
Time to create page: 0.104 seconds
Donation Image