Hide Question from response summary | XM Community
Skip to main content
Question

Hide Question from response summary

  • May 12, 2025
  • 5 replies
  • 57 views

PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+43

I am showing response summary at end of survey. In this response summary I want to hide one question always, can someone check if this can be done and how?

 

5 replies

vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 549 replies
  • May 12, 2025

Hi,

You could add a script in your header. Something like this would work for question with QID5 in the new survey experience:

<script>
Qualtrics.SurveyEngine.addOnReady(function () {
const section = document.querySelector('#summary section#question-QID5');
if (section) {
section.style.display = 'none';
}
});
</script>

 


PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+43
  • Author
  • Level 6 ●●●●●●
  • 1171 replies
  • May 13, 2025

This is not working and it is still appearing :(


vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 549 replies
  • May 13, 2025

What layout are you using and where are you displaying the summary?


PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+43
  • Author
  • Level 6 ●●●●●●
  • 1171 replies
  • May 13, 2025

Old layout and I added same as a header.


vgayraud
QPN Level 6 ●●●●●●
Forum|alt.badge.img+58
  • QPN Level 6 ●●●●●●
  • 549 replies
  • May 13, 2025

In old layouts, use this instead:

<script>
Qualtrics.SurveyEngine.addOnReady(function () {
const section = document.querySelector('div.ResponseSummaryQuestion#QID5');
if (section) {
section.style.display = 'none';
}
});
</script>