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?
multi enable the other option
Show previous comments
(0)
Comments
(0)
Sign in to comment on this post
Answers approved by surveyjs Support
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}"
}
]
}
]
}
]
}
Let me know if this option suits you.