qualtrics

Implementing a multi-page timer in Qualtrics

杀马特。学长 韩版系。学妹 提交于 2020-01-25 13:17:27
问题 For a research project I'm working on I'm trying to implement a timer using the Javascript functionality on Qualtrics that will keep track of time and display it to subjects over multiple pages. The general idea of my code is to keep track of a timed countdown over multiple pages. That is to say, I have a series of tasks, each on an individual page but in the same block, and I'd like to display how much time is left every time a new page loads. To do this, first I've defined several embedded

Changing space between answer choices in Qualtrics

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-17 05:04:41
问题 I am using a new "skin" in Qualtrics where answer choices have a label wrapper, and there are no check boxes. Respondents actually click on the answer choice itself. Is there a way to reduce the size of the label wrapper so that the answer choices are closer together and the question is not so long vertically? 回答1: You can change the padding on the labels: Qualtrics.SurveyEngine.addOnload(function() { $(this.questionId).select('label').each(function(name) { name.style.padding = "10px"; }); })

“Incorrect username or password” error message in Qualtrics API v2.5

雨燕双飞 提交于 2020-01-17 03:04:35
问题 Due to some features that I wish were available in Qualtrics v3 (see previous post), I checked out their most recent previous version (v2.5) to try to find a GET request which closely approximates the data from individual surveys that I'm trying to obtain on each request. However, when I do their built-in API test on my own credentials: I get the following error: <XML> <Meta> <Status>Error</Status> <RequestType>getSurvey</RequestType> <ErrorCode>500</ErrorCode> <QualtricsErrorCode>ESRV09<

I am trying to integrate Qualtrics survey with Unity3D game engine

落爺英雄遲暮 提交于 2020-01-06 07:23:30
问题 I am using the Unity3D game engine with C# and I have created a game which collects a few files and survey responses from the game player. Is it possible to create a survey on Qualtrics and then submit the response (survey answers and txt files) via. an API call from my game? PS:- Is there a support to submit survey answers and text files using some API calls? The in-game survey looks like the one below and there is a text file generated by the game during the game play. I'd need to send the

Retrieve the reaction time in Qualtrics

雨燕双飞 提交于 2020-01-06 06:12:44
问题 I wrote the following script to measure the respondent's reaction time for each question. My question is how can I retrieve the reaction time? Qualtrics.SurveyEngine.addOnload(function(){ var starttime = new Date().getTime(); var that = this; this.hideNextButton(); this.questionclick = function(event,element){ if (element.type == 'radio') { var endtime = new Date().getTime(); var reactiontime = endtime - starttime; document.getElementById("QR~"+this.questionID).value = document.getElementById

Retrieve the reaction time in Qualtrics

社会主义新天地 提交于 2020-01-06 06:12:07
问题 I wrote the following script to measure the respondent's reaction time for each question. My question is how can I retrieve the reaction time? Qualtrics.SurveyEngine.addOnload(function(){ var starttime = new Date().getTime(); var that = this; this.hideNextButton(); this.questionclick = function(event,element){ if (element.type == 'radio') { var endtime = new Date().getTime(); var reactiontime = endtime - starttime; document.getElementById("QR~"+this.questionID).value = document.getElementById

Download survey results from Qualtrics into Python

痞子三分冷 提交于 2020-01-06 05:34:12
问题 I am trying to directly get the data responses from Qualtrics directly into a pandas dataframe python. Is there a way of doing so? import shutil import os import requests import zipfile import json import io # Setting user Parameters # apiToken = "myKey" # surveyId = "mySurveyID" # fileFormat = "csv" # dataCenter = "az1" apiToken = "HfDjOn******" surveyId = "SV_868******" fileFormat = "csv" dataCenter = 'uebs.eu' # Setting static parameters requestCheckProgress = 0 progressStatus = "in

Use Javascript for Qualtrics matrix table display logic

六月ゝ 毕业季﹏ 提交于 2020-01-05 07:18:12
问题 I'd like to use Javascript to set up the display logic for individual rows in a single-choice matrix table question in Qualtrics. I've always done this in the past with the usual click-through method, but I often have 100+ rows to do this for, and it'd save a ton of time to be able to do this programmatically. I've tried inserting the following into "Add JavaScript" for the question I'm trying to add the display logic to: Qualtrics.SurveyEngine.addOnload(function() { /*Set display logic*/ if

In Qualtrics surveys, how can you use JavaScript to dynamically set the range of a slider?

夙愿已清 提交于 2019-12-31 03:14:07
问题 I was making a survey in Qualtrics, and needed to have my items show different values of the slider depending on a variable, in my case, the value from a loop and merge. That didn't seem like a thing that you could do with piped text, so I had to figure out how to do it in Javascript. I'm just posting this as an opportunity to provide the answer I found on my own. As usual with Qualtrics, your mileage may vary, and this may need to be modified for your specific situation. In particular, the

Why can't I access this dynamically loaded DOM element by ID (no iframes)?

試著忘記壹切 提交于 2019-12-25 05:03:51
问题 I am working with an external site that allows embedded javascript content (Qualtrics). Qualtrics dynamically loads some controllers. When I test accessing these controllers via the Chrome web panel, after they have fully loaded, I can see the loaded controllers in the Elements window which represents the current DOM. However, I cannot access these elements by id, either with jQuery or via document.getElementById. One of the controllers has the id QID12~14~handle . In the Elements DOM browser