Welcome to the LimeSurvey Community Forum

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

List of answers (free text) and use input in array?

  • joost1982
  • joost1982's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #143615 by joost1982
Hi there,

Is it possible to ask for a list of answers and use those answers in an array on the next page?
Something like this:

Question 1: Give a list of possible solutions:
- ......
- ......
- ......
- ......
- ......
- ......
- ......
- ......

Let's say the user gives three solutions.

Question 2: How often do you implement this solution? (1,2,3,4 or 5 times a week)

Solutions and array 1, 2, 3, 4, 5

- Solution 1 -- 1 2 3 4 5
- Solution 2 -- 1 2 3 4 5
- Solution 3 -- 1 2 3 4 5

(instead of "solution 1" I want the exact solution text from the previous question)

I know I can use an "array filter" to use answers from previous answers, but I do not get it working with "free text", only with "precoded" answers/text.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 months ago #143622 by Joffm
Hi, joost,
I did it this way.
1. You have your list question (multiple short answers)
2. In the subquestions of the second question insert the following
a. question text {L1_SQ001}, (L1 question code of list, SQ001 code of sub question)
b. relevance L1_SQ001!='' (not empty)
see screenshots

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • joost1982
  • joost1982's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 months ago #143649 by joost1982
Brilliant this will work!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose