qualtrics

How to have entire item in Qualtrics remain in position when scrolling?

≡放荡痞女 提交于 2021-02-15 07:19:34
问题 I am presenting an image embedded in a descriptive text item, followed by several questions about that image. I would like that item to remain in place while the participant scrolls. I've been able to get the entire image to remain in place using something like this HTML code: <html> <style> .image{position: fixed; background: white;} </style> <div class = "image"> <img src="LOCATION OF IMAGE FILE" style="width: 395px; height: 395px;" /> </div> </html> But this freezes the image itself in a

How to have entire item in Qualtrics remain in position when scrolling?

别等时光非礼了梦想. 提交于 2021-02-15 07:18:39
问题 I am presenting an image embedded in a descriptive text item, followed by several questions about that image. I would like that item to remain in place while the participant scrolls. I've been able to get the entire image to remain in place using something like this HTML code: <html> <style> .image{position: fixed; background: white;} </style> <div class = "image"> <img src="LOCATION OF IMAGE FILE" style="width: 395px; height: 395px;" /> </div> </html> But this freezes the image itself in a

qualtrics javascript: autopopulate matrix table using previous answers

只谈情不闲聊 提交于 2021-02-10 14:03:56
问题 I ask the same matrix table (multiple answer) question twice in my Qualtrics survey. When I display the question to the user the second time, I want the answers to be auto populated from the first time the user answered the question. I've looked at the code snippets in the documentation, so I know how to select the checkboxes in the current question, e.g. for (var i = 1; i <= rows; i++) { for (var j = 1; j <= cols; j++) { this.setChoiceValue(i, j, true); } } My issue is that I can't figure

In Qualtrics, how do I hide a slider from being displayed until a response is given? thank you

喜夏-厌秋 提交于 2021-01-29 19:03:27
问题 In Qualtrics, how do I use Javascript to hide a slider from being displayed until a response is given? thank you! 来源: https://stackoverflow.com/questions/60143050/in-qualtrics-how-do-i-hide-a-slider-from-being-displayed-until-a-response-is-gi

Qualtrics - progress to next block when time is up

喜你入骨 提交于 2020-06-18 19:46:48
问题 I need a survey to auto progress to the next block when a specified time limit has been reached for the previous block. Currently I am using the below script to display the timer but need the script to execute the action when time has elapsed. Any assistance is greatly appreciated. Javascript in timing question. Qualtrics.SurveyEngine.addOnload(function() { var headerCont = document.createElement("div"); headerCont.className = "header-cont"; headerCont.id = "header_container"; var header =

Importing questions into Qulatrics with embedded javascript

喜夏-厌秋 提交于 2020-05-16 08:36:32
问题 I am trying to find a straightforward solution to this problem. I understand that there are three ways to automate the creation of a Qualtrics survey with a txt file: either using the Simple format TXT file, the Advanced format TXT file, or using a QSF file, which is basically a serialized json object. In order to automatically include the same javascript code in a massive set of questions (and avoid copy-pasting it manually), I wanted to create an importable file with the questions. However,