Hi IsabelPosada thanks for your response! That is what I was hoping too, but I am unable to paste a chart created in excel into the body message. I was hoping there was some way to build it directly in the body message.
Hi morganm. Could you describe more how you were able to create graphs incorporated with display logic? I would love to have scoring graphs included in the response report that is sent out for my survey.
Got it-was able to get it working. Thanks so much!
Thank you for your response. I understand the first part and will include all the JS calculations in one question. Should the JS be behind the questions that will be populated by respondents or a separate question that is the blank descriptive text in the same block? My apologies that I don't quite understand the second half of your response-if you could please clarify. To prevent the need for an extra page, my college suggested having the JS under the "on page unload” line of JS, but this did not work.
Ah, thank you for clarifying! Given that the code is needed for all questions in my survey, do you have a suggestion of a way to embed the JS the code block after all the items have been populated? Is there a way to do this without having to add another question or have a blank page. Thank you!!!
They are blank.
Correct, I have been checking by manually completing the survey.
They are listed as Embedded Data fields. I have attached the QSF file. UCLA_PTSD_Reaction_Index_Child_Report(1).qsf
I did as suggested and it did not work.
Hi Tom, Thanks so much for your suggestion. I moved the embedded data fields in the survey flow prior to the JS block. This did not solve my problem. To your second suggestion, I did this, and it IS showing the correct variable value, but the value is somehow not getting assigned in the survey flow within Qualtrics. I chatted with a Qualtrics support person and they said that my survey flow looked good and did not have any changes to suggest. They looked at my JS Question API, and said it looks like the variables are being assigned as a string, but they are defined as an integer. Isn't this done with my “parseInt” function? (I am a JS newbie and this code was written with help from a colleague)Any suggestions would be greatly appreciated.
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.