How to add question separators for only certain questions | XM Community
Skip to main content
Solved

How to add question separators for only certain questions

  • January 7, 2019
  • 8 replies
  • 1374 views

Forum|alt.badge.img+5
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?

Best answer by TomG

Add an html `<hr>` tag to the beginning of your question text.

8 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • January 7, 2019
Add an html `<hr>` tag to the beginning of your question text.

Forum|alt.badge.img+5
  • Author
  • Level 1 ●
  • January 8, 2019
@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?

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • January 16, 2019
Add this JS to the second question: ``` Qualtrics.SurveyEngine.addOnload(function() { jQuery("#"+this.questionId).prev('.Separator').hide(); }); ```

@TomG excellent thanks!

Forum|alt.badge.img+4
  • September 11, 2020

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?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • September 11, 2020

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.


Forum|alt.badge.img+4
  • September 11, 2020

Thanks! That was the fix!