How to Hide Question Number for a Specific Question in Qualtrics Survey? | XM Community
Skip to main content
Solved

How to Hide Question Number for a Specific Question in Qualtrics Survey?

  • February 3, 2025
  • 1 reply
  • 33 views

gPandey_715
Level 2 ●●
Forum|alt.badge.img+5

Hello everyone,

I am trying to hide the question number for a specific question in my Qualtrics survey. I've tried setting the question number to blank, but it still shows a dot (.) when taking the survey. I also tried using custom CSS with the following selectors:

#QID49 .q-number {
    display: none !important;
}

However, it didn’t work as expected. After inspecting the question, I found that the ID displayed is QR~QID49~SDPVALIDATION, and the QuestionText BorderColor is part of the class.

Has anyone encountered a similar issue? What’s the correct CSS to completely hide the question number for QID49 in my survey?

Best answer by vgayraud

Hi,

Add this to your question’s custom javascript :

Qualtrics.SurveyEngine.addOnReady(function () {
    var questionNo = document.querySelector('#' + this.questionId + ' label.ExportTag').style.display = 'none';
});

 

View original

1 reply

vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 369 replies
  • Answer
  • February 3, 2025

Hi,

Add this to your question’s custom javascript :

Qualtrics.SurveyEngine.addOnReady(function () {
    var questionNo = document.querySelector('#' + this.questionId + ' label.ExportTag').style.display = 'none';
});

 


Leave a Reply