Questions tagged [qualtrics]

Qualtrics is an enterprise-level commercial web-services provider specializing in online marketing, online surveys, and related metrics. For non programming related questions, please utilize the Qualtrics Community.

The Qualtrics website provides information about the service. Qualtrics offers two Application programming interfaces (APIs):

All non development related questions should be directed to the Qualtrics Community site, instead of Stack Overflow.

719 questions
2
votes
1 answer

Integrating Qualtrics and MTurk for a multi-wave study

I want to run a study that recruits Mechanical Turk workers to take a survey on Qualtrics. But the survey itself is pretty long, and I want to make sure I get a good number of respondents from hard-to-find groups on MTurk (such as Latino men)…
Ari
  • 55
  • 1
  • 2
  • 8
2
votes
2 answers

Recoding single variable spread across several in R

I am working with survey data that has a question about race. Each race category is its own variable. Here is what I want to do: Create a new variable, p.race. Assign p.race the value of one of the eight variables for race/ethnicity…
oatmilkyway
  • 429
  • 1
  • 6
  • 17
2
votes
3 answers

Prematurely exiting a Loop and Merge block in Qualtrics

I'm currently working on a Qualtrics survey in which respondents have to solve a long list of anagrams, and then answer some demographic questions. To make the anagram part easier, I've used a Loop and Merge block: the first field is the anagram to…
Andreq
  • 407
  • 4
  • 14
2
votes
1 answer

How to solve the non-playing audio in HTML in various browsers

I am playing the following mp3 in various browsers and sometimes it plays and sometimes it doesn't. Specifically now it doesn't play in Chrome anymore but it plays in Firefox: http://langcomplab.net/Most_Precious_Possession_Master.mp3 Here's the…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
2
votes
1 answer

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

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…
David M. Perlman
  • 4,851
  • 2
  • 16
  • 12
2
votes
0 answers

Trying to calculate a value from a text-box and dropdown list in Qualtrics

I am trying to add the values from a text-box (which keeps changing) and a drop-down list (respondents click an answer). For some reason, I am not able to capture the value from the text-box. I am not sure where I am going wrong! Can someone please…
user2845095
  • 465
  • 2
  • 9
2
votes
1 answer

Triggering "change" with jQuery with multiple selectors

I'm trying to trigger a "change" event on two different selectors using jQuery, but for some reason, when I do this, only the first selector actually seems to trigger the event. This is what I'm…
atb
  • 943
  • 4
  • 14
  • 30
1
vote
3 answers

Javascript - determining specific urls clicked

I have a survey in which there are 3 URLs (see HTML below) within the question. We want to track which specific URLs are clicked rather than just a URL was clicked. I have this code for that with the embedded data of…
Mandy L
  • 11
  • 2
1
vote
1 answer

Calculate difference between two times on Qualtrics

Respondents record a start time (time to bed) and and end time (time out of bed) in separate questions using flatpickr’s time picker. The responses are recorded in the format, for example, 11:00 PM and 8:00 AM, for start time and end time…
1
vote
1 answer

String Variables Disappear from JavaScript Regular Expressions When Implemented in Qualtrics

I am trying to count the number of matches to a set of regular expressions in survey responses on Qualtrics (e.g. whenever people use "I think...", "In my opinion,", etc., the count increases by one). Here is the JavaScript I wrote to do this: const…
Ian Davis
  • 11
  • 2
1
vote
1 answer

Javascript in a Qualtrics Survey: Getting the displayed order of the selected choice in a MCQ

I have a question with 5 choices (A,B,C,D,E), displayed in random order. Say for a particular user they are displayed in the order C, D, A, E, B I want to set embedded data field "Output" based on the displayed order of the selected choice. In the…
1
vote
0 answers

Adding custom validation across multiple questions within a block on Qualtrics

I have a block of 12 questions in Qualtrics. The order of the questions is randomised. For each question, participants are forced to select either upvote, downvote, or pass. How can I force participants to select each of the possible options exactly…
user72716
  • 263
  • 3
  • 22
1
vote
1 answer

Qualtrics: Custom slider range with embedded data using javascript

I want to create one single slider in Qualtrics where the min, the MAX and the intervals are chosen according to 4 different embedded data. I need help with the Javascript. Why do I need one single slider? I need a single slider because I have 16…
1
vote
0 answers

Qualtrics: How to remove the top table header border

I'm working with Qualtrics side by side question and I'm trying to remove the the extra lines (borders) of the top table header. Thank you!
1
vote
0 answers

Having trouble getting a Tower of Hanoi game to function correctly in Qualtrics

I'm trying to embed HTML/javascript/CSS code into a graphic/text question in Qualtrics to run a Tower of Hanoi game. Here's a link to a CodePen containing a functional example: https://codepen.io/finnhvman/pen/gzmMaa I'm able to input the HTML and…