Hi all,I'm trying to set an embedded data in the Qualtrics.SurveyEngine.addOnPageSubmit function, but it doesn't work (no error message, only that the embedded data doesn't get the assigned value)This is the codeQualtrics.SurveyEngine.addOnPageSubmit(function() { var q2= this.getChoiceAnswerValue(); Qualtrics.SurveyEngine.setEmbeddedData("Player1Tokens",q2); alert('You gave Player 1 '+ q2 + ' tokens'); alert('They have now ' + "${e://Field/Player1Tokens}" + ' tokens');});(From the alert I know that q2 gets the right value; still, Player1Tokens doesn't get the q2 value)FYI - the Player1Tokens embedded data is initiated in the survey flow before any block is displayed to users
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.