I used this code for 2 text boxes and it worked:Qualtrics.SurveyEngine.addOnload(function() { jQuery("#"+this.questionId+" .TextEntryBox").each(function() { var tb = jQuery(this); tb.css({"float":"none","background-color":"white","width":"100%"}); tb.prev("label").css("display","block").append(" ").append(tb); });});
> @Melissa said: > @Mohammedali_Rajapakar_Ugam Related to your answer from the 8th of Oct: Is there a way to adapt the code so it works also for a multiple choice question with two other specify boxes? > > At the moment it looks like this: > > ! > I also would like to know how to adapt the code so it applies to every instance of 'text box entry' in a single questions instead of just the first instance of 'text box entry'. Any guidance would be greatly appreciated! I used this code and it worked! Qualtrics.SurveyEngine.addOnload(function() { jQuery("#"+this.questionId+" .TextEntryBox").each(function() { var tb = jQuery(this); tb.css({"float":"none","background-color":"white","width":"100%"}); tb.prev("label").css("display","block").append(" ").append(tb); });});
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.