Formatting Piped Text | XM Community
Skip to main content
Solved

Formatting Piped Text

  • November 9, 2021
  • 7 replies
  • 1285 views

Hi all,
I am using piped text from a multiselect multiple choice question. Currently, different choices are piped in separated by a comma. Is there a way to display the selected choices in a bulleted list? This is how it's looking now:
image.pngThanks in advance!

Best answer by TomG

Shokouh,
I think this is what is you want. Make sure the choices you are piping don't contain a comma followed by a space.

7 replies

MSobotta
Level 4 ●●●●
Forum|alt.badge.img+25
  • Level 4 ●●●●
  • November 9, 2021

Of course, just go into the Rich Content Editor.


  • Author
  • November 9, 2021

Thanks @MSobotta, but the Rich Content Editor can't fix my issue. If I apply a bulleted list, the entire string of selected choices turns into one big bulleted paragraph. I want the individual choices to appear as separate bullet points.


MSobotta
Level 4 ●●●●
Forum|alt.badge.img+25
  • Level 4 ●●●●
  • November 9, 2021

In choice text you just have to do:


  • C${e://Field/Bullet%201}


image.png


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • November 10, 2021

Shokouh,
I think this is what is you want. Make sure the choices you are piping don't contain a comma followed by a space.


  • Author
  • November 10, 2021

Thanks TomG, worked perfectly!


Forum|alt.badge.img+1
  • August 3, 2022

Hi TomG,
I utilized the code you provided and it helped a lot!
However, I'm noticing that at the end of the list, there is still a lingering comma for the last piped option. Do you know of a way to remove this?
Thank you!


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • August 3, 2022

https://community.qualtrics.com/XMcommunity/discussion/comment/48251#Comment_48251It is either an issue with your piped string or your html. If the piped items in the list are separated by only a comma+space (e.g., selected choices from a question) there won't be any extra commas.