It looks like the code is slightly different when using the simple layout. This worked for me in the Onload section using the Simple Layout. document.querySelector('#next-button').textContent = 'Submit';
Thanks for your response NiC. I put this code on QID 16Qualtrics.SurveyEngine.addOnPageSubmit(function(type){ if(type == "next") { Qualtrics.SurveyEngine.setEmbeddedData("totalkidscurrentyear", "${q://QID16/TotalSum}") }});But it doesn't set the value to the embedded data field. I have to put it on the constant sum question in order to use the embedded data field in display logic in the next question, correct?Is the embedded data field set before the next question begins to be loaded?
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.