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?

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?
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>
This is not working and it is still appearing :(
What layout are you using and where are you displaying the summary?
Old layout and I added same as a header.
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>
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.