Text highlighting custom question in Qualtrics | XM Community
Skip to main content
Solved

Text highlighting custom question in Qualtrics

  • November 15, 2018
  • 5 replies
  • 298 views

Forum|alt.badge.img
I am interested in adding a text highlighting feature where survey participants can highlight certain parts of text and then answer questions about the text they highlighted. The highlighted text and associated responses should then be stored for later review. Can I use JavaScript in Qualtrics to implement a custom feature like this? Or are there limitations to customizations we can make?

Best answer by TomG

There isn't anything you can do about the 200 word/phrase limit with JavaScript. That is the max number of responses Qualtrics will record. You can manipulate a Highlight question with JavaScript. For example, I wrote a script to add a comment box above the ratings buttons and record the comments in a hidden text entry form on the same page.
View original

5 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • November 15, 2018
Have you looked into using a Highlight question? https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/question-types-guide/specialty-questions/highlight/

Forum|alt.badge.img
  • Author
  • 2 replies
  • November 15, 2018
Thanks Tom, that's very helpful. Do you know if it's possible to expand some of the capabilities of the Highlight question with JavaScript? For example increasing the word limit from 200 words? Also for a given paragraph, I want participants to go back and forth between highlighting and answering questions about what they just highlighted, whereas in the current setup the participants go through the entire paragraph first and then answer questions later.

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • Answer
  • November 16, 2018
There isn't anything you can do about the 200 word/phrase limit with JavaScript. That is the max number of responses Qualtrics will record. You can manipulate a Highlight question with JavaScript. For example, I wrote a script to add a comment box above the ratings buttons and record the comments in a hidden text entry form on the same page.

Forum|alt.badge.img+2

TomG I am interested in changing the color scheme. I want to set 5 colors with RGB for 5 choices. Can you help me figure out how to do it please?


Forum|alt.badge.img+11
  • QPN Level 5 ●●●●●
  • 78 replies
  • June 11, 2021

https://www.qualtrics.com/community/discussion/comment/37681#Comment_37681You can just select the highlight question type and then in categories, you can increase the number of categories to 5. Hope this helps!!
Screenshot (6).png


Leave a Reply