Piped Text Customization | XM Community
Skip to main content

Hello,
I am trying to pipe text from a multiple choice question with multiple answers allowed, but there is one item that I don't want to display ("I have reasons that are not captured in this list") because that item leads to a text entry box and I have already piped text from the box. It looks something like this:
image.pngIs there a way to specify which items, if chosen, can be displayed in the piped text? Thanks!

Shokouh If I understand your problem correctly, I'd use survey flow and embedded data. If you set the first question in one block and the second question in another block, you can add embedded data between the two blocks.
In the flow, use branch logic based on the person's response to the first question. If they don't select "Other" you can create an embedded data field containing their choices from the first question and then pipe that text into the second survey question.


There are two approaches I can think of and it's up to you which fits your needs better.

  1. Store your piped text as a embedded data before the second statement

  2. Create an If statement for both scenarios

  3. Set the one embedded data correctly for each of them

  4. Pipe in the embedded data instead of the answer text

  5. Create two follow-up statements

  6. Create an If statement for both scenarios

  7. Pipe in the correct statement for both scenarios.

The first solution is a little slicker and the preferred method in my honest opinion.


I think the easiest approach is to put the statement you don't want visible in a span with a class then hide it in the follow-up question.
In your original question the choice text is:
I have reasons that are not captured in this list:
JS for the follow-up question:
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" .hidePipe").hide();
});


Hi all, thank you so much for the help! Much appreciated.
TomG that worked beautifully! Thanks so much 🙂


Leave a Reply