How to have a text box response for one of the choices in a multiple choice question | XM Community
Skip to main content

Hello,
I am writing in AdvancedFormat and I would like to make one of the choice options for a multiple choice question "Other" and have a text box next to it. Below is my sample code. Thanks in advance for your help!

[[AdvancedFormat]]
[[Question:MC]]
Which animal is your favorite?
[[Choices]]
Dogs
Cats
Fish
Other (I'd like to make this option have a text entry box)
I don't have a favorite animal

image.pngEasy peasy lemon squeezy.


Hi, MSobotta,
Thank you for your response. If I need to use that method after importing my AdvancedFormat code then I will. However, I was hoping that there may be a way to write the text entry box into my AdvancedFormat code so that it is included in the survey when I import my code. Do you know how I can do that?
Thanks in advance.


No code is required for this and you can click all text entry and add text entry validation.


Thank you, Priyanka_Fid!


Leave a Reply