Can a survey be launched to a predetermined set of respondents identified by unique id?
If so, can respondent data also be pre-loaded and accessed by SurveyJS within the survey for skip logic and question fills? For example: ID,FIRST NAME,LAST NAME,AGE,GENDER.
Thanks for your help.
Hello,
SurveyJS is a JavaScript library and cann't send anything to respondents. You can deliver a link to a page with survey to a predetermined set of respondents by any onther available means (email, chat, etc.). But it's not a respronsibility of SurveyJS Library.
Survey data can be preloaded via the
survey.data
property (https://surveyjs.io/Documentation/Library/?id=surveymodel#data)..) Here is the sample - https://surveyjs.io/Examples/Library/?id=survey-data&platform=jQuery&theme=defaultThanks, Serge
SurveyJS Team
Thanks again, Serge.
The example makes sense. Instead of hard coding the values, I just need to set them by linking to an external database.
That sounds doable, correct?
Hello,
I don't see any problems here. Since it's yours database you know it's structure and you can write code that will obtain data of the current surveyee from your database, convert this data into format suitable for SurveyJS and finally assign it to
survey.data
.Thanks, Serge
SurveyJS Team
Thanks again, Serge.
I'll work on that.