Change display text in drill down with javascript | XM Community
Skip to main content

Hello,
Is there a way to change the text of a specific "layer" of a drill down text with javascript?
I have a drill down where people choose a Workshop category first then the Workshop topic then the Workshop date but I also have a 4th layer that has only 1 option that has text that I want to change from the user's view. The actual choice text is a zoom link that I need to store but I don't want to show that to them yet. It will be emailed to them later. Is this possible?

Qualtrics.PNG

If you don't want to show it, then you can just hide it. It'll still appear in your results.
If that's the only question on the page, then add this to your question HTML:

Please note that this will hide EVERY 4th row on the page AND every 4th row in the survey, even though they will be present. So, if you are going to go with this, then try to make it one of the last things you add.
Alternatively, you could use JS:
Qualtrics.SurveyEngine.addOnReady(function(){
this.questionContainer.querySelector("tr:nth-child(4)").hide();
});
The last option will flash for a second.


Leave a Reply