How to remove images from piped text in next question | XM Community
Skip to main content
Solved

How to remove images from piped text in next question

  • May 27, 2022
  • 2 replies
  • 149 views

Forum|alt.badge.img

Hi! I have multiple question Q1 with images to support correct answers. In the next question I use piped text from Q1 of selected answers in question body and it adds these images in the question body next to the text! It looks very unpleasant- in case of several answers - the question text became weird.
How to remove images from piped text and keep only text choices?

Best answer by TomG

Try adding this JS (untested) to the next question:
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" .QuestionText img").hide();
});

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6082 replies
  • Answer
  • May 27, 2022

Try adding this JS (untested) to the next question:
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" .QuestionText img").hide();
});


Forum|alt.badge.img
  • Author
  • 3 replies
  • May 30, 2022

Thanks a lot! It works perfectly!