One multiple choice and one text entry in 'answer'? | XM Community
Skip to main content
Solved

One multiple choice and one text entry in 'answer'?

  • November 26, 2018
  • 1 reply
  • 69 views

Hi! I am wanting to customize a survey question's answer options such that I can have multiple choice answers as well as text entry answers. I know that it is possible to allow text to a multiple choice option, but I was wondering if there was another way to do so because it is unusual to have to select the MC answer then input the response. For example: Q: How old are you? A: -(text entry): ____ years old. -(MC answer): I prefer not to answer Thank you!

Best answer by TomG

You can use a multi-select MC question and make "I prefer not to answer" exclusive. Write some JS to hide the label/button on the first choice so only the text input is visible. The first choice will automatically be selected when the respondent enters text. You can also have the JS delete the text if "I prefer not to answer" is selected.

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • November 26, 2018
You can use a multi-select MC question and make "I prefer not to answer" exclusive. Write some JS to hide the label/button on the first choice so only the text input is visible. The first choice will automatically be selected when the respondent enters text. You can also have the JS delete the text if "I prefer not to answer" is selected.