Text before/after textbox for multiple response options | XM Community
Question

Text before/after textbox for multiple response options

  • 9 August 2019
  • 1 reply
  • 7 views

Hello!

I am having a difficult time designing a question in qualtrics that mimics the question in the image below, in which there is text both before and after the textbox. I have found that using JavaScript provided here https://gist.github.com/13bzhang/92be517b6558132c78620ad029c77f4d allows me to do this when the response is only one text box, but the trick here is that I want the textbox displayed in each of the four response options.

Is this possible?

!

Thanks!

1 reply

Userlevel 7
Badge +27
Yes, it is possible.

Using the script you linked to, the problem is that it adds the same before/after text to each text box. You could define an array of objects or two arrays to insert into each of the choices as you loop through them.

That would work, but I don't think it is the best approach for your question. I think something like this would be better:
https://www.qualtrics.com/community/discussion/4074/custom-fill-in-the-blank-drop-down-questions#Comment_12713

Leave a Reply