Pipe individual lines from multi-line text box? | XM Community
Skip to main content
Question

Pipe individual lines from multi-line text box?

  • April 20, 2021
  • 1 reply
  • 32 views

I ask respondents to type a list of names into a multi-item textbox. I want to be able to pipe each name separately into later parts of the survey.

1 reply

pogi
Level 2 ●●
Forum|alt.badge.img+14
  • Level 2 ●●
  • 151 replies
  • April 20, 2021

You will have to use javascript to turn each line into an embedded data variable to pipe through to the other parts of the survey.
I am not a coder but the logic would basically make the input into an array and then for each line assign it to an embedded variable. Then once it is an embedded variable you can pull it through.


Leave a Reply