show piped text only for selected answers: ignore the others | XM Community
Question

show piped text only for selected answers: ignore the others

  • 13 November 2020
  • 0 replies
  • 62 views

Badge +3

I'm trying to use a trigger email to send a summary with piped text. I'm piping in selected choices from 2 different questions. I put in the piped text to show all potential selected choices for those two questions:
Based on our conversation you will assess these outcome(s) as follows:
${q://QID4/ChoiceGroup/SelectedChoices} ${q://QID11/ChoiceTextEntryValue}
${q://QID5/ChoiceGroup/SelectedChoices} ${q://QID12/ChoiceTextEntryValue}
${q://QID6/ChoiceGroup/SelectedChoices} ${q://QID13/ChoiceTextEntryValue}
${q://QID7/ChoiceGroup/SelectedChoices} ${q://QID14/ChoiceTextEntryValue}
${q://QID8/ChoiceGroup/SelectedChoices} ${q://QID15/ChoiceTextEntryValue}
${q://QID9/ChoiceGroup/SelectedChoices} ${q://QID16/ChoiceTextEntryValue}
${q://QID10/ChoiceGroup/SelectedChoices} ${q://QID17/ChoiceTextEntryValue}
The email looks like this:
Based on our conversation you will assess these outcome(s) as follows:
 
 
 
 
 
Outcome 6: Experiments: Inquiry and analysis rubric: asd
Outcome 7: New Knowledge: Lifelong learning rubric: ert


What I'd like is for only the ones selected to take up space. Is there any coding I can add to each line to tell it to ignore if there isn't anything to report so there isn't a lot of blank lines like that?
I appreciate your time and any assistance. Thank you. :)


0 replies

Be the first to reply!

Leave a Reply