Solved
linking answers to other variables
Is it possible to assign an embedded data field to a value that is determined by a respondent's responses but is available in an (external) Excel file?
For example:
The respondent answers a question asking for their zip code (a text entry question).
I have an Excel file that links each zip code with the latitude and longitude of the "center" of the zip code.
I would like to define two embedded variables, one for the latitude and one for the longitude that corresponds to the zip code given by the respondent.
There are solutions that use branching or drill down variables, but so far these would involve too much work (one branch for every zip code in the US for example), or would require the user to select the lat and lon after picking their zip code. Kind of awkward to have the respondent see the lat and lon at all. Would like this process to happen behind the scenes.
Thanks.
Best answer by MohammedAli_Rajapkar
Hi David,
You will be able to do this through "Authenticator" and contact list.
Below is the documentation for the same:
https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/advanced-elements/authenticator/authenticator-overview/
You will have to follow below steps:
- Upload the excel file (in which you have zip-code, latitude, longitude) as a contact list in a .csv format. If needed please add the email column and provide any non-duplicate dummy email id for each row. Here is the documentation on the contact list: https://www.qualtrics.com/support/survey-platform/contacts/contact-list-overview/
please have a unique zip-code in .csv file
- Add an Authenticator in survey flow as shown in the documentation.
- Select the contact list which you created
- Authenticate based upon the zip-code
- Add 2 embedded data field (i.e. "latitude" and "longitude") underneath the authenticator and the name of the embedded data field should match with the name "latitude" and "longitude" given in the contact list
So, if the respondent provides correct the zip-code (which present in the contact list) then the Authenticator will pull the respective "latitude" and "longitude" value from the contact list.
Please try and let me know if you face any issue.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
