qualtrics

How to enable autoplay .h264 video in html

主宰稳场 提交于 2019-12-13 03:50:56
问题 I am trying to get a h.264 video to autoplay in Qualtrics. Here is the HTML code for the video (I've removed the source from the code). <video class="qmedia" controls="true" height="480" preload="auto" width="640"><source src="blah" type="video/mp4" /><embed align="middle" autoplay="true" bgcolor="white" class="qmedia" controller="true" height="480" pluginspage="http://www.apple.com/quicktime/download/" src="blah" type="video/quicktime" width="640" /></video> I've tried autoplay ="true" and

Set embedded data in Qualtrics with javascript for use with display logic (need updates?)

﹥>﹥吖頭↗ 提交于 2019-12-13 03:46:36
问题 While this issue has been addressed a few times here and here, subsequent Qualtrics updates have made it difficult to continue to apply these solutions. My objective: count up the number of text boxes containing responses from 2 questions and use that number to determine what gets displayed in a third. The following javascript code used in a text question type on a page separating the second and third questions works fine: Qualtrics.SurveyEngine.addOnload(function() { //Count up the number of

Why does my Qualtrics JS in header only seem to work for the first page?

ぃ、小莉子 提交于 2019-12-13 02:18:43
问题 I have tried to place it in in the Qualtrics header with the tag and the JS section within the individual questions in Qualtrics. This code is successful in hiding the "Powered by Qualtrics" tab at the bottom of the first question, but every other question after the first one will show the "Powered by Qualtrics" tab. FYI this Qualtrics survey is currently embedded on another site via iframe tags. Any thoughts? <script> Qualtrics.SurveyEngine.addOnload(function() { var plug = document

automatically resize to full screen when clicking next button

﹥>﹥吖頭↗ 提交于 2019-12-12 07:07:53
问题 I am trying to insert some javascript code into qualtrics. I want it to resize the user's browser after the user presses the "next" button (this is after a short statement telling the user that the user's browser will be resized). When I run this code with an HTML file in my own browser, it works. However, it does not work in qualtrics. I know it is grabbing the "NextButton" element correctly because I tested the button click with a basic alert. Does anyone know if there is something in

Delay Display of Text in Qualtrics using Javascript

孤街浪徒 提交于 2019-12-12 05:29:58
问题 (This is related to the unanswered question https://stackoverflow.com/questions/26745762/delaying-presentation-of-text-in-qualtrics) I am working on a Qualtrics survey. I want to delay some text (say, text ) being displayed - it should be hidden for 5 seconds, then display. I found a resource here - Javascript for Qualtrics - that I can't get to work. Drawing from this example, I try to replicate it by delaying the display of a photo. I do this to see if I can get this working before I go on

Integrating keyboard use with answer randomization in Qualtrics

女生的网名这么多〃 提交于 2019-12-12 05:26:13
问题 I'm using qualtrics to present a user with two choices, one on the left and one on the right. I'd like to have them use the keyboard arrow keys to make a selection and I currently have code to let them do this using the following: Qualtrics.SurveyEngine.addOnload(function() { /*Place Your Javascript Below This Line*/ this.hideNextButton(); this.hidePreviousButton(); var that = this; Event.observe(document, 'keydown', function keydownCallback(e) { var qid = this.questionId; var order = $("QR~"

Javascript to change the size of qualtrics text box

帅比萌擦擦* 提交于 2019-12-12 04:11:12
问题 Qualtrics used to have a section of their website called Coder's Corner that had snippets of code that could be used to advance the functionality of the surveys but they did away with that section. I am looking for the Javascript code that controls the size of a question text box, specifically a constant sum text box. I would greatly appreciate any help I can get. Thanks 回答1: The answers given don't specifically apply to a Qualtrics constant sum question. I think the code below is what you

Qualtrics: Automatic blinking cursor (focus) does not work on JFE, only on SE surveybuilder

时光总嘲笑我的痴心妄想 提交于 2019-12-12 03:27:39
问题 This has been an ongoing issue for me with my Qualtrics survey, where I need an automatic blinking cursor to appear in a textbox as soon as the page/question appears. It works flawlessly using Qualtrics' SE survey builder, but it does not work properly on JFE. Qualtrics could not help me with the issue, and would revert my surveys back to SE, but now they will no longer revert it back to SE so I need to solve this issue. My code is as follows $("QR~2_QID1").select(); This also works on SE

Qualtrics: Javascript to prevent saving entry from Text Box

*爱你&永不变心* 提交于 2019-12-11 23:28:02
问题 I have one Text Box (also called "Text Entry") in my qualtrics survey in which I want participants to write something but I do not want to have the result saved in my data. I do not want to use the password function, therefore I have used JavaScript at the Text Box level. The code below works to the extent that whatever participants put in the Text Box it will be set to an empty string the moment they hit the Next-Button. Qualtrics.SurveyEngine.addOnload(function() { /*Place Your Javascript

How to randomly assign users a font in a qualtrics survey

非 Y 不嫁゛ 提交于 2019-12-11 16:33:38
问题 I am conducting an experiment on Qualtrics. The font used in the survey is one of the variables I am testing. I would like to use "MS Serif" to 50% of my participants, and "MS Sans Serif" to the other 50% of participants. These fonts are part of the fonts you can pick in the "look and feel" UI of Qualtrics. I would also have to record which font each participant saw. How do I do this? My first idea was to create two surveys, and just have Mechanical Turk pick one of them randomly. However, my