Creating survey branches to include all survey responses, but assign variables to responses not included in list | XM Community
Skip to main content
Question

Creating survey branches to include all survey responses, but assign variables to responses not included in list


Forum|alt.badge.img+1

I have a list of zip codes (as responses) for participants who would be eligible, but I don't want to completely screen out zip codes not included in a validation setting. Do you know how I can separate the two without screening out those who may not input the zip code in a confirmed list? How do you create the embedded data in the survey flow/branching logic? 

3 replies

jmborzick
QPN Level 5 ●●●●●
Forum|alt.badge.img+41
  • QPN Level 5 ●●●●●
  • 249 replies
  • January 3, 2025

@davgon1774  I’m not sure if I follow. Are  you asking them to enter a 5-digit zip code and then validate against a list of options? 

 


Forum|alt.badge.img+6
  • QPN Level 2 ●●
  • 40 replies
  • January 3, 2025

Hi ​@davgon1774 ,

 

Declare an embedded data suppose “zip_confirm”, can create 2 different branches after the zip question, wherein the first branch you can validate if the zip codes match, set zip_confirm =1 and when its out of validation set zip_confirm=2. Do let me know if this is what you were looking for.


Forum|alt.badge.img+1
  • Author
  • Level 2 ●●
  • 6 replies
  • January 3, 2025

@resh_kr , yes that’s correct! Thank you, that worked! I assigned embedded data to the list of ‘eligible’ and not equal list to assign it a variable. Thank you, both! 


Leave a Reply