Display Text entry field to the right of the question | XM Community
Skip to main content
Hi All - I'm using Multiple Choice question with a text entry, which I need to display to the right of the question. On another post I found a similar post with code that moved the text entry box before the question - I need to flip that order (question then text entry box). Any idea how to alter the code below? Thank you!!

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","unset");
When you add text entry box for any option it automatically appears on right of the text.
@Multimedia_Team - In the last line of code try changing "unset" to "none".

Leave a Reply