That’s the code I used for the response categories on a multiple choice question for “other, please specify.” It does not work for a text-entry question!
Qualtrics.SurveyEngine.addOnReady(function() { /*Place your JavaScript here to run when the page is fully displayed*/ jQuery("input[type=text]").attr('style','max-width: 60px !important'); (jQuery(".QuestionText")).append(jQuery("input[type=text]")); });