Hiding Question Text | Experience Community
Skip to main content
Solved

Hiding Question Text

  • Oct 11, 2018 6:01 PM UTC
  • 8 replies
  • 2800 views

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!

Best answer by Sowrabh1993

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>`
View original

8 replies

SaurabhPujare_Ugam
QPN Level 5 ●●●●●
Forum|alt.badge.img+18
Hey @TracyL Go to rich content editor and add following code `<span style="display:none">Click to write the question text</span>`

  • Author
  • Oct 11, 2018 6:11 PM UTC
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?

Forum|alt.badge.img+15
  • QPN Level 5 ●●●●●
  • Answer
  • Oct 11, 2018 6:15 PM UTC
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>`

SaurabhPujare_Ugam
QPN Level 5 ●●●●●
Forum|alt.badge.img+18
! Hope you have added the code here

NiC
QPN Level 5 ●●●●●
Forum|alt.badge.img+28
  • QPN Level 5 ●●●●●
  • Oct 11, 2018 6:18 PM UTC
> @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? !

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

JR33
QPN Level 2 ●●
Forum|alt.badge.img+10
  • QPN Level 2 ●●
  • Jan 17, 2022 8:49 AM UTC

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?


Forum|alt.badge.img+11
  • QPN Level 5 ●●●●●
  • Feb 25, 2022 2:30 PM UTC

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.