I would like to set the total sum of a constant sum question (Q2) to an embedded data field. Then use the embedded data field in display logic for Q3. Q1 is a text entry box.
Display Q3 if TotalsumQ2 < Q1Answer
I can't set embedded data in the survey flow like described here because I am using a table of contents.
I put this JS on Q2 but it is inconsistent:
Qualtrics.SurveyEngine.addOnUnload(function()
{
Qualtrics.SurveyEngine.setEmbeddedData( 'totalkidscurrentyear', "${q://QID16/TotalSum}" );
});
I looked at this too but it is for multiple choice questions and I am not sure how to convert it to be for a constant sum question.
Can anyone help?
Question
Set embedded data in page based on constant sum question

Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.