How to add a "tags" question in a survey (or something similar) | XM Community
Skip to main content
In my survey, I have a "Text Entry" entry question for my respondents to essentially tag their submission. I anticipate that my survey respondents will have a lot of similar Text Entry answers/tags and I want to minimize the number of different responses I would get.



I want to achieve this by providing respondents with suggested text. I also want them to be able to view what answers previous respondents to the survey have used. In fact, the "Tags" box on this Ask a Question form is very similar to what I want to do. Is there any way I could do something similar? The only difference is that I definitely want to show respondents the text entry responses that had been submitted by previous survey respondents (in addition to some tags that I would like to suggest).
What you want to do is quite difficult. There are two parts you'll have to address:



1. You'll probably have to use a web service and an external database to capture and maintain the list of tags. Assuming you capture the tags in a text entry field, you'll have to send that to a web service that adds any new tags to a tags database table.



2. You'll have to use a web service or ajax (JS w/ a web service back end) to bring the tags into the survey. Once you have the tags you can use select2 and dynamically build a select2 object with tagging that updates a Qualtrics text input field.
Thank you @TomG .



Is this what Qualtrics Community does for their "Ask a Question" form? Is there any way I could get more information on how to tackle Part 1? Or is there a Qualtrics tech I can speak to on this? Either way, I would be happy to do dig deeper and do some more reading about it on my end if I could be referred to another resource.



Meanwhile, my specific questions for Part 1 are (1) What web service or external database do I use? What is most common? (2) How do I capture the tags in the text entry field and have that sent to the web service?



I'll have more questions about Part 2 once I figure out Part 1.
I don't know what Qualtrics does for the "Ask a Question" form, but it isn't a Qualtrics Survey so it is a completely different thing.



Qualtrics Support doesn't provide any assistance or support for creating web services. They do have a Professional Services group that you can pay to do this type of thing. A freelancer would probably be faster and cheaper.



You would write your web service script in a web based programming language like php or python and use a web based database like MySQL. You can call the web service from the survey flow or a post survey action.



Integrate select2 into your survey and use it to capture the tags into a Qualtrics text entry field, then pipe the text entry into your web service.

Leave a Reply