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() { | |
//Left align items in a Pick Group Rank | |
jQuery("#"+this.questionId+" span.LabelWrapper").css("text-align", "left"); | |
}); |
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() { | |
//Underline phrases in Highlight question | |
jQuery("#"+this.questionId+" span.HLTextWord").css("text-decoration", "underline"); | |
}); |
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() { | |
jQuery("#"+this.questionId+" .InputText:first").select().focus(); | |
}); |
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() { | |
jQuery("#"+this.questionId).prev('.Separator').hide(); | |
}); |
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() { | |
jQuery("#"+this.questionId).hide(); | |
jQuery('#Buttons').hide(); | |
var var1 = parseInt("${q://QID1/ChoiceTextEntryValue}"); | |
//algorithm goes here to assign answer to variable answer | |
Qualtrics.SurveyEngine.setEmbeddedData('answer',answer); | |
jQuery('#NextButton').click(); | |
}); |
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() { | |
var input = jQuery("#"+this.questionId+" .InputText"); | |
input.before("$ "); | |
input.after(" /mo"); | |
input.select().focus(); //optional, focus on input field | |
}); |
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() { | |
var inputWidth = "75px"; | |
var q = jQuery("#"+this.questionId); | |
q.find('.SumInput').css("width", inputWidth); | |
q.find('.SumTotal').css("width", inputWidth); | |
q.find('.InputText').css("width", inputWidth); | |
}); |
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() { | |
jQuery("#"+this.questionId+" input").css("width", "75px"); | |
}); |
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
var jfe = false; | |
if(/^\/jfe/.test(window.location.pathname)) jfe = true; |