Welcome to the LimeSurvey Community Forum

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

Array with different answer options per subquestion

  • rdg5183
  • rdg5183's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #111408 by rdg5183
Hi All,

We are in the process of setting up a survey for one of our customers. One of the questions is quite tricky though as it requires different answer options per subquestion in the array.

First example subquestion on the left = Turnover
Answer options = Increased, Decreased

Second example subquestion on the left = Economic role
Answer options = Trusted institution, Strong innovator

And so on.

I haven't been able to find a question type that lets you do this.

Is it possible?
The topic has been locked.
More
9 years 7 months ago - 9 years 7 months ago #111419 by Bigred01
You can create a new array for each new group that has different answer options and have them all on the same page. Or you can use jQuery to insert some html into the table to create a new header row in the right spots (which will get trickier if you are randomizing the table). The quickest way would be to just use a new array question for each group of subquestions.

Edit*

Or i guess you can just have the headers repeat for every row then change the text inside of them on load with jQuery as well.
Last edit: 9 years 7 months ago by Bigred01.
The following user(s) said Thank You: rdg5183
The topic has been locked.
  • rdg5183
  • rdg5183's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #111432 by rdg5183
Yes, the option of creating separate arrays occurred to me already. I was wondering though if there was an alternative. Thanks for the tip on jQuery!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose