Essay Text Box with Checkbox | Experience Community
Skip to main content
Solved

Essay Text Box with Checkbox

  • Jun 24, 2020 2:19 PM UTC
  • 4 replies
  • 161 views

onyxcircus
Forum|alt.badge.img+2

Dear Community,
I'm looking for a way to put a checkbox directly under an essay text box:
Screenshot.pngSince the position of the text entry for an answer option cannot be moved easily, I first created an additional question (Multiple Choice) with only one answer option and hidden the question text. Unfortunately in this case the checkbox is very far away from the essay text box:
Screenshot2.pngAnybody got any ideas? Thanks in advance for your support!
Best regards
Marc

Best answer by TomG

https://www.qualtrics.com/community/discussion/comment/27108#Comment_27108Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" .LabelWrapper > label:first").hide();
});

View original

4 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Jun 24, 2020 2:45 PM UTC

Use a multi-select multiple choice question with allow text on the first choice. Use JavaScript to hide the label of the first choice.


onyxcircus
Forum|alt.badge.img+2
  • Author
  • Jun 24, 2020 2:58 PM UTC

Thanks, Tom. It makes perfect sense and looks good with large text entry, but I have literally 0 JavaScript knowledge, so the corresponding code is highly appreciated. 😏


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • Jun 24, 2020 3:05 PM UTC

https://www.qualtrics.com/community/discussion/comment/27108#Comment_27108Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" .LabelWrapper > label:first").hide();
});


onyxcircus
Forum|alt.badge.img+2
  • Author
  • Jun 24, 2020 3:10 PM UTC

Thank you so much! Works pretty well. 😄