Customizing a Piped Response | XM Community
Skip to main content
Solved

Customizing a Piped Response

  • April 10, 2018
  • 3 replies
  • 290 views

I want to pipe a response from a question (like the one below) into a follow-up question, but am hitting a snag with formatting. > Thinking about the next six months, how likely are you to attend one of our events? > Very likely > Somewhat likely > Neither likely or unlikely > Somewhat unlikely > Very unlikely Because each response option is capitalized, the piped text (bolded below) appears in the follow-up question like this: > You indicated that you would be Very likely to attend one of our events in the next six months. Why is that? > Aside from making all the response options in the first question lowercase to begin with, is there a way to reformat the piped text to appear lowercase instead? The ideal result would be: > You indicated that you would be very likely to attend one of our events in the next six months. Why is that?

Best answer by TomG

You could put the pipe in a `<span>` then use to JavaScript to convert it to lower case. An easier solution is to just put the pipe in quotes (it will still be capitalized, but respondents will understand why).

3 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • Answer
  • April 11, 2018
You could put the pipe in a `<span>` then use to JavaScript to convert it to lower case. An easier solution is to just put the pipe in quotes (it will still be capitalized, but respondents will understand why).

  • Author
  • 1 reply
  • April 11, 2018
Appreciate the advice. Thanks, @TomG!

  • 8 replies
  • June 7, 2019
Hi Tom, sfalchuk, I am facing the same issue. Can the full javasrcipt and <span> code be shared to illustrate this. Thanks.