Welcome, Guest
Username: Password: Remember me

TOPIC: Array with different answer options per subquestion

Array with different answer options per subquestion 1 month 3 weeks ago #111408

  • rdg5183
  • rdg5183's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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 administrator has disabled public write access.

Array with different answer options per subquestion 1 month 3 weeks ago #111419

  • Bigred
  • Bigred's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 29
  • Thank you received: 10
  • Karma: 2
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: 1 month 3 weeks ago by Bigred.
The administrator has disabled public write access.
The following user(s) said Thank You: rdg5183

Array with different answer options per subquestion 1 month 3 weeks ago #111432

  • rdg5183
  • rdg5183's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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 administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.092 seconds
Donation Image