This file contains 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() | |
{ | |
/*Place Your Javascript Below This Line*/ | |
var inputs = $(this.getQuestionContainer()).select('input[type="text"]'); | |
for (var i = 0; i < inputs.length; i++) { | |
var input = inputs[i]; | |
$(input).insert({before: 'In '}); | |
$(input).insert({after: ' years'}); |