https://www.qualtrics.com/community/discussion/comment/21789#Comment_21789I actually feel like this is not a proper solution. I require the use of dynamic generated ED, ie the names are generated based on a Loop&Merge number during survey-taking, and it would be quite helpful this have this data saved at the end of the survey. There is only one work real workaround for this as far as I can figure out - create a text entry question that is populated by JS then hidden with JS or CSS - but even that seems kinds of excessive.
I'm a little unclear on what you want to do. However, I am guessing it's one of two things:
- Change embedded data based on some choices. For this, you need to insert your code in the addonPageSubmit are. (See some examples here: https://github.com/tafakkur/QualtricsHub/tree/master/JavaScript%20Files)
- You want to use this dynamically populated embedded data in a question or as answer choice. For this, you'll need to have atleast one page break between setting your embedded data and using it. Else, Qualtrics will use the older value.
Hi everyone! I'm also in a similar position. I'm using Qualtrics to record feedback data. However, I also want to record some metadata (
groupId) around this. I'm passing the metadata through JavaScript according to the documentations mentioned. Below is my HTML code snippet:
I have included this in the base HTML file. Most of the script was mentioned in the documentation. I've only added the
addOnloadmethod. However, on my server, it says
Uncaught ReferenceError: Qualtrics is not defined. Isn't the script supposed to define Qualtrics on its own? Could anyone point out what I'm missing here? Thanks!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.