How to add question separators for only certain questions | XM Community
Skip to main content
I've turned off question separators in look and feel as I don't want them for the majority of my questions however I would like to add them for just a couple of questions. Any ideas?
Add an html `<hr>` tag to the beginning of your question text.
@TomG Ahh knew there would be an easy way. Thanks Tom
Is there a similar easy fix if I have turned question separators on in look and feel but want to hide it between two specific questions?
Add this JS to the second question:

```

Qualtrics.SurveyEngine.addOnload(function() {

jQuery("#"+this.questionId).prev('.Separator').hide();

});

```
@TomG excellent thanks!

I am also trying to hide just a few specific separators. I tried the code above and it did not work for me. Any ideas?


https://www.qualtrics.com/community/discussion/comment/30199#Comment_30199Change addOnload to addOnReady. At some point in the last year and a half Qualtrics made a change that impacted the timing.


Thanks! That was the fix!


Leave a Reply