Question
JS set variable as 1 or 0 as embeddedData
Why can I not say,
if (Value > val) {
var correctchoice = 1;
} else {
var correctchoice = 0;
}
Qualtrics.SurveyEngine.setEmbeddedData("Correctchoice ", correctchoice);
or
if (Value > val) {
var correctchoice = "1";
} else {
var correctchoice = "0";
}
Qualtrics.SurveyEngine.setEmbeddedData("Correctchoice ", correctchoice);
whereas this works?
if (Value > val) {
var Pruefung = "Take it";
} else {
var Pruefung = "Don't take it";
}
Qualtrics.SurveyEngine.setEmbeddedData("Pruefung", Pruefung);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
