Formatting Piped Text | Experience Community
Skip to main content
Solved

Formatting Piped Text

  • Nov 9, 2021 7:05 PM UTC
  • 9 replies
  • 1569 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.

View original

9 replies

MSobotta
Level 4 ●●●●
Forum|alt.badge.img+25
  • Level 4 ●●●●
  • Nov 9, 2021 9:04 PM UTC

Of course, just go into the Rich Content Editor.


  • Author
  • Nov 9, 2021 10:06 PM UTC

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 ●●●●
  • Nov 9, 2021 11:16 PM UTC

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
  • Nov 10, 2021 12:27 PM UTC

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
  • Nov 10, 2021 7:06 PM UTC

Thanks TomG, worked perfectly!


Forum|alt.badge.img+1
  • Aug 3, 2022 9:46 PM UTC

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 ●●●●●●●●
  • Aug 3, 2022 10:11 PM UTC

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.


Forum|alt.badge.img
  • Feb 25, 2026 9:38 PM UTC

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.

Hi! I know this is a pretty old post but I was hoping for some help here. I’m trying to do the exact same thing (turn piped selected answer choices into bullets rather than a paragraph with commas), and it works with the old survey taking experience, but not the new survey taking experience. We have to use the new due to accessibility concerns. Is there a way I could modify the Javascript to work again?

Thank you!


Forum|alt.badge.img+1
  • Sep 21, 2026 9:01 PM UTC

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.

Hi! I know this is a pretty old post but I was hoping for some help here. I’m trying to do the exact same thing (turn piped selected answer choices into bullets rather than a paragraph with commas), and it works with the old survey taking experience, but not the new survey taking experience. We have to use the new due to accessibility concerns. Is there a way I could modify the Javascript to work again?

Thank you!

Hello ​@MMAT015 hope you don’t mind me resurrecting this old thread. I have your exact same question. Did you figure out how to do this….turn piped selected answer choices into bullets rather than a paragraph with commas? If so, I’d love to hear how you did it. Thanks in advance!