The two surveys are the same except the most recent survey has some additional questions at the end. The other issue is that there is Java at the beginning of the surveys that takes data from a dropdown and parses it. So when I try to export from one file and import to another, the three fields that use the dropdowns are blank. I think I need to figure out how to run this java on the import somehow. Our Qualtrics implementation specialist is the person who put this Java in, but Qualtrics Support doesn't support it.
Qualtrics.SurveyEngine.addOnload(function()
{
function sortStrings(a, b) {
if (a.toLowerCase() < b.toLowerCase()) {
return -1;
}
else if(a.toLowerCase() > b.toLowerCase()) {
return 1;
}
else {
return 0;
}
}
function parseEDList(EDList, field) {
var EDListArray = EDList.split(";");
EDListArray.sort(sortStrings);
for (var i = 0; i < EDListArray.size(); i++) {
var separatedED = field + (i+1);
console.log(separatedED + " " + EDListArray[i]);
if (EDListArray[i] != ""){
Qualtrics.SurveyEngine.setEmbeddedData(separatedED, EDListArray[i]);
}
}
}
parseEDList("${e://Field/RecruiterList}", "QRecruiter");
parseEDList("${e://Field/DepartmentList}", "QDepartment");
parseEDList("${e://Field/JobTitleList}", "QJobTitle");
});
Question
What is the easiest/best way to take Qualtrics data from one survey and import it into another?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
