This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qualtrics.SurveyEngine.addOnReady(function() { | |
var qobj = this; | |
var displayedChoices = []; | |
jQuery.each(qobj.getChoices(), function(index, value) { | |
if(qobj.getChoiceDisplayed(value)) displayedChoices.push(value); | |
}); | |
if(displayedChoices.length == 1) { | |
qobj.setChoiceValue(displayedChoices[0], true); | |
qobj.clickNextButton(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.Skin .SBS .Answers th.SBS1, .Skin .SBS .RepeatHeader td.SBS1 { | |
transform: rotate(-90deg); | |
white-space: nowrap; | |
vertical-align: middle; | |
text-align: left; | |
padding:0px; | |
height:100px; | |
} | |
.Skin .SBS .Answers th.SBS2, .Skin .SBS .RepeatHeader td.SBS2 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Concat(rng As Range, Optional sep As String = ",") As String | |
Dim rngCell As Range | |
Dim strResult As String | |
For Each rngCell In rng | |
If rngCell.Value <> "" Then | |
strResult = strResult & sep & rngCell.Value | |
End If | |
Next rngCell | |
If strResult <> "" Then | |
strResult = Mid(strResult, Len(sep) + 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qualtrics.SurveyEngine.addOnload(function () { | |
//Hide or show next question based on drop down (select) | |
var q = jQuery("#"+this.questionId); | |
var next = q.nextAll('.Separator:first, .QuestionOuter:first'); //next separator & question | |
var select = q.find('select:first'); //select element | |
hideShow(select.get(0)); //initialize to support prev button | |
select.on('change', function() { hideShow(this); }); | |
function hideShow(selEl) { | |
var selIdx; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qualtrics.SurveyEngine.addOnReady(function() { | |
//Initialize graphic slider | |
var init = "1"; //update to initial graphic to show | |
var qid = this.questionId; | |
var q = jQuery("#"+qid); | |
if(q.find('.SSTrack.activated').length == 0) { //not already set (support previous button) | |
q.find('.handle').css("top", "100px"); //initialize slider | |
q.find(".SSImage>.SSImage:visible").hide(); //hide default graphic | |
jQuery(("#Image_QR~"+qid+"@"+init).replace(/(~|@)/g, "\\$1")).show(); //show init graphic | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub, sup {vertical-align: baseline; position: relative; font-size: 60%;} | |
sub {bottom: -0.6em;} | |
sup {top: -0.6em;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.Skin .PGR .DragAndDrop .Items ul { | |
columns: 2; | |
-webkit-columns: 2; | |
-moz-columns: 2; | |
} | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="text-align:center"> | |
<video id="vidId" controls="controls" autoplay="autoplay" width="100%"> | |
<source src="${e://Field/vid_url}" type="video/mp4"> | |
Your browser does not support HTML5 video. | |
</video> | |
</div> |