Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Piping from short text to array

Piping from short text to array 4 years 10 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.

Piping from short text to array 4 years 10 months ago #67149

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
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

Piping from short text to array 4 years 10 months ago #67156

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6239
  • Thank you received: 1382
  • Karma: 539
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.
The administrator has disabled public write access.
The following user(s) said Thank You: ogonek
Moderators: ITEd
Time to create page: 0.369 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form