Customizing a Piped Response | XM Community
Solved

Customizing a Piped Response

  • 11 April 2018
  • 3 replies
  • 103 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?
icon

Best answer by TomG 11 April 2018, 03:17

View original

3 replies

Userlevel 7
Badge +27
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).
Appreciate the advice. Thanks, @TomG!
Hi Tom, sfalchuk,

I am facing the same issue. Can the full javasrcipt and <span> code be shared to illustrate this. Thanks.

Leave a Reply