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

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? 

@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? 

 


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.


@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!