Piping in Selected Choices combined with Text Entry | XM Community
Skip to main content

Hi, everyone. I have a multiple choice question where users can select more than choice, and then there are “text entry” boxes for each choice so a user can enter additional information.

 

 

Let’s say that someone selects “Apple” and types in “Red.”  Then they select “Banana” and type in “Yellow.”

 

How can I make it so an embedded data would save the information from all Selected Choices and their corresponding text entry fields, and then display them like this?

 

Apple - Red

Kiwi - Green

 

This information will be in a customized email response in a workflow - so my clients aren’t going to be looking at reports or anything like that. So I need to figure out how to pipe in the selected choices and corresponding text entries and then display them in a list.

@cassieh 

Create an embedded data based on branch logic and pipe both the choice description and answer text written like this.

You will have it as you require.

Hope it helps!


Hi, Deepak! 

 

1) In the Survey Flow, would I have to create a separate branch for each possible selected option?

This is what I have right now for the Apple option. 

 

2) Or is there some way to combine all of the selected options (and their text entry values) into one embedded data field?

 

3) Do I put the HTML code in the workflow email source code, or the source code of the question in the survey?

 

Thanks so much for your help! 


@cassieh 

  1. Yes for each one you need to create it or you can ease it via custom coding as well.
  2. Same custom code
  3. Kindly ignore the HTML code I posted it incorrectly I will get that deleted

 

 


Thanks, Deepak - I think that’s definitely want I’m looking for. If there’s custom code out there (would it be Javascript?) that would save all the selected choices & their text entry fields -- from one question -- into one embedded data field, as some kind of list. 


Leave a Reply