Hiding Question Text | XM Community
Skip to main content
I'd like to hide the question text for a number of questions in my survey. Is there code that will allow me to do this, question by question (and not for the entire survey)? Thanks!
Hey @TracyL



Go to rich content editor and add following code



`<span style="display:none">Click to write the question text</span>`
Thank you for this! I used the rich content editor to copy the code, but when I preview the question I see the code. Did I do something wrong?
Hi @TracyL

You could also hide the question text using this.

Put the code in HTML view of the question.

`<span style="visibility:hidden;">Your question here</span>`
!



Hope you have added the code here
> @TracyL said:

> Thank you for this! I used the rich content editor to copy the code, but when I preview the question I see the code. Did I do something wrong?



!
Hi guys, I tried to had your code on the HTLML view of the rich content editor, but when I preview the block, the text is not hidden but is "your question here" . I tried with both of your code. Any solution to this ? Or any idea of what I may have done wrong?

Hello, I'm reopening this thread because I was wondering if it was possible to reduce the empty space created by the in my questionnaire?


https://community.qualtrics.com/XMcommunity/discussion/comment/42968#Comment_42968jQuery('.QuestionText').eq(1).css('display','none');
can be used to reduce the space between 2 questions. Add this code in javascript of any one question.


Leave a Reply