Welcome to the LimeSurvey Community Forum

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

Array with cell specific dropdown list

  • chanioman
  • chanioman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 months 2 weeks ago #267146 by chanioman
Array with cell specific dropdown list was created by chanioman
Hi all, 
probably an easy one but in any case:
I am trying to generate an array questions with cell-specific dropdown lists. (X001_Y001). I seem to fail doing so and I do not understand why. 

Your LimeSurvey version: 6.2.8
Own server or LimeSurvey hosting: own server
Survey theme/template: bootswatch

As presented in the attached, I am changing the cell but it does not work. 
Code:
'.answer-item.answer_cell_X001_Υ001

 

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 2 weeks ago #267149 by tpartner
Replied by tpartner on topic Array with cell specific dropdown list
Try this:

Code:
$('input[id$="Y001_X001"]', thisQuestion).closest('td').addClass('with-select').append('<select class="inserted-select form-control list-question-select">

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: chanioman

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose