Question T20044
Visible to All Users

multi enable the other option

created 3 months ago

Hi. hope your doing well.
I have a question. I want when I click an option 2 or 3 inputs open for me not just one. The "multi enable the other option" opens just one input.
Is it possible that I get couple of "other descriptions" not just one?

Answers approved by surveyjs Support

created 3 months ago

Hello,
Unfortunately, a standard Checkbox/Multi-Select Dropdown has only one Other option.
If you wish to open an input field for each selected item, consider creating a Dynamic Panel which is bound to a Checkboxes/Multi-Select Dropdown question via the valueName and valuePropertyName settings. Consider the following demo:

JSON
{ "pages": [ { "name": "page1", "elements": [ { "type": "checkbox", "name": "question1", "choices": [ "Item 1", "Item 2", "Item 3" ], "valuePropertyName": "selectedItem" }, { "type": "paneldynamic", "name": "question2", "title": "Comments", "valueName": "question1", "templateElements": [ { "type": "text", "name": "question3", "title": "Comment On {panel.selectedItem}" } ] } ] } ] }

Clipboard-File-1.png
Let me know if this option suits you.