that;s not a good idea. I already tried that, if you have big JS Code in your file and you paste that code in HTML view then it behaves strange and the survey designer got hangs.. Its good for short code but not for heavy JS set-up. So as per this discussion it seems like Qualtrics can't handle JS files easily.
Library references - could you please explain? Library do not allowed JS files. then how can i refer Question level? Do you mean to say referring through HTML view? Please suggest.
Thanks for your help. This can work. I will try this. But this approach is not suitable. Suppose if we are handling multiple custom set- ups in a complex survey and for one set-up we need to refer Jquery 1.8 and for the another set up we need Jquery 1.9 then this can cause problems since on the same page we are referring two libraries and the custom set-up may fail. :( I am not sure if Qualtrics can be used efficiently for Custom set-ups or not.
This is really bad. so if i need to create a custom set up then i need to paste all of my code in survey itselelf. Could you please explain more regarding survey Header? how i can do that.
Q1 - I tried the below code and worked perfect. Qualtrics.SurveyEngine.addOnload(function() { /*Place your JavaScript here to run when the page loads*/ var choiceInputs = this.getChoices(); var i=0; for (i = 0; i < choiceInputs.length; i++) { this.setChoiceValue(choiceInputs[i], true); } }); Q2- i am not sure how to do it. Still learning..
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.