Looking for custom code to remove the header from end of survey page | XM Community
Question

Looking for custom code to remove the header from end of survey page

  • 30 August 2019
  • 1 reply
  • 105 views

Badge +2
Before the Language drop-down, I've added a header so I can add "Please select your preferred language from the drop-down list." Unfortunately, this header then shows up on the End of Survey page too. Does anyone have custom code that will remove the header from the End of Survey page? If so, can you also tell me how to add the code to the page? I'm not a developer, nor a web-whiz, but can follow instructions well 🙂 Thank you!

1 reply

Userlevel 4
Badge +18
I assume you are using the standard end of survey info instead of a info from library\\survey. If that is correct you should put your header text within class "LanguageSelectorContainer" so it will not appear on the end page. You can do it by placing below code in your header:- jQuery(".Q_lang").before("Please select your preferred language from the drop-down list.")

If you are using any custom end page, you can just put below script in that page\\info:-
jQuery(".LanguageSelectorContainer").hide();

Leave a Reply