Text Entry box is outside shaded box "Others" | XM Community
Skip to main content
When I add a text entry box option for "others", it shows up on the next line and is not included in the shaded box



See this survey question 3

https://breg.co1.qualtrics.com/jfe/preview/SV_0Pve3kiLYpqJO61?Q_SurveyVersionID=current&Q_CHL=preview



Qualtrics told me I need a custom code but not sure what to do here



Please help
Here is a screenshot



!
I found the code below, but the code only works when you have one text entry in a question if you have more than one text entry in one question the code below doesn't work.



Does anybody have any solution for this?



var QID = this.questionId;

var QIDOtherLabel = jQuery("#" + QID).find(".TextEntryBox").siblings().attr("id");

jQuery("[id='" +QIDOtherLabel+"']").append(jQuery("#" + QID).find(".TextEntryBox"));

jQuery("[id='" +QIDOtherLabel+"']").css("padding-top","30px");

jQuery("[id='" +QIDOtherLabel+"']").css("padding-bottom","30px");

jQuery("#" + QID).find(".TextEntryBox").css("float","none");
Use this:

https://gist.github.com/marketinview/03dc80fe52623c8df6ae1f42edaba44e

Leave a Reply