Please disregard my previous comment and this whole thread. It turns out Qualtrics cannot do what I want to do because it does not record a click value on a page until the next page is loaded. Thus, it only records the last click, which can be the same as the first click if you don't use the "in page" option in display logic. But I wanted the display in page option to provide feedback while the user can see all the options he/she didn't click on. I have now developed a work around. My apologies for cluttering up this forum.
I have tried some JS but must be doing something wrong, hopefully simple or stupid so one of you can offer some help. I created an embedded variable called "resp" in the SurveyFlow. Then for the question where I want to record what the sequence of choices they clicked on, I put in the following script from the API just to verify that a choice value has been passed to the embedded data: var response = this.getChoiceRecodeValue; The editor closed, so no obvious syntax errors. The embedded variable value never changes no matter what choice is clicked because I haven't yet connected response to resp. So I found some JS code which seemed to set the value, but, adding it, blows up the editor. Qualtrics.SurveyEngine.setEmbeddedData(“resp”,response); So how do I get the embedded variable value set to the choice values? Once I have that fixed, I just want to concatenate the choices. So if the person clicks on the 1st, 3rd, and 6th choice, I want resp to = 136. So I thought I would
Wow, that would be great. A record of the initial response, a second response and maybe a final response as embedded data would be would be ideal.
Yes, thank you. I figured that after searching the help files. I was hoping someone had already done what I needed and could provide the JavaScript. Qualtrics could be a powerful education tool with this ability--to track students as they approximate a correct answer.
Already have an account? Login
Enter your username or 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.