Hi,
I found these code while browsing through other threads.
Hope it helps.
MCQ’s choice width and hiding of question text:
Qualtrics.SurveyEngine.addOnload(function() {
/* This line to hide the question text of MCQ*/
jQuery("#"+this.questionId).find(".QuestionText:first").parent().hide();
/* change the 100px to something else to fit your form field width*/
jQuery("#"+this.questionId+" .ChoiceStructure").css("width","100px");
});
Form field’s text box width, reduce space at bottom and hiding the statements:
Qualtrics.SurveyEngine.addOnload(function() {
/*This line to reduce the space at the bottom*/
jQuery("#"+this.questionId+" .QuestionBody").css("padding-bottom","0px");
/*This line to hide first column's statement*/
jQuery("#"+this.questionId+" td:not(.ControlContainer)").hide();
/*This line to change the width of form field text box to a fixed value of 100px*/
jQuery("#"+this.questionId+" .InputText").css("width","100px");
});
Hi,
I found these code while browsing through other threads.
Hope it helps.
MCQ’s choice width and hiding of question text:
Qualtrics.SurveyEngine.addOnload(function() {
/* This line to hide the question text of MCQ*/
jQuery("#"+this.questionId).find(".QuestionText:first").parent().hide();
/* change the 100px to something else to fit your form field width*/
jQuery("#"+this.questionId+" .ChoiceStructure").css("width","100px");
});
Form field’s text box width, reduce space at bottom and hiding the statements:
Qualtrics.SurveyEngine.addOnload(function() {
/*This line to reduce the space at the bottom*/
jQuery("#"+this.questionId+" .QuestionBody").css("padding-bottom","0px");
/*This line to hide first column's statement*/
jQuery("#"+this.questionId+" td:not(.ControlContainer)").hide();
/*This line to change the width of form field text box to a fixed value of 100px*/
jQuery("#"+this.questionId+" .InputText").css("width","100px");
});
This worked perfectly, thank you!