How to show embedded data in the survey after setting it in JS? | XM Community
Skip to main content
Question

How to show embedded data in the survey after setting it in JS?

  • July 9, 2019
  • 1 reply
  • 13 views

I use the "Qualtrics.SurveyEngine.setEmbeddedData('mykey', 'myval');" to set an embedded data in th JS in the "Qualtrics.SurveyEngine.addOnload" function. But when I try to display the 'mykey' value in a block using '${e://Field/mykey}', it only shows blank. Can someone help me? Thanks a lot!

1 reply

Subu
Level 2 ●●
Forum|alt.badge.img+5
  • Level 2 ●●
  • July 9, 2019
Hi @BellaYang Have you made sure you have added a embedded variable with the name as "mykey" in survey flow . I have done exactly what you have done and it is showing fine.