Adding comments to the scale question | XM Community
Skip to main content

Dees anyone know if in Qualtrics is possible to set up scale question, when when responded hovers over the answer box a plus sign comes up and when you click on it opens a box for comment
Capture 1.PNGCapture 2.PNG

It can be done, but it would require some complicated JavaScript.


AnnaP
Not exactly same but you can do something like this OOTB. Kindly use inpage display logic. You can add placeholder to show in the text box desired line. You can also hide the Question text.
Qualtrics.SurveyEngine.addOnload(function()
{
{
/*Place your JavaScript here to run when the page loads*/
  var PLACEHOLDER = 'Please feel free to add your comments here ';
  jQuery('#QR\\\\~' + this.questionId).attr('placeholder', PLACEHOLDER);
}
});


Survey Build:
image.png
Preview screen
image.pngHope it helps!


thanks, this is very useful. I take it the code needs to go into the comment question? How do you get all 3 questions to display on one page? I haven't got page breaks and they are not showing on one page I have to click next to see each question


AnnaP
Click on inpage at the bottom when you create the display logic
image.pngDisplay LogicHope it helps!


brilliant, thank you that works. One more question, how do you delete the text above the comment box 'Click to write the question text'? I made it white ,so it doesn't show but is there a way to remove it?


AnnaP
You can just enter a "space bar" or you can use this in the source of Rich Content Editor.
Click to write the question text
Hope it helps!


TomG thank you for your comment. I was afraid that that would be the case


Great job providing a solution and continuing the conversation Deepak! I'm sure this discussion will help a lot of community users down the line! 🙂


Leave a Reply