1 question, multiple text entry fields | XM Community
Skip to main content
Solved

1 question, multiple text entry fields

  • March 28, 2019
  • 7 replies
  • 6579 views

Hi! Can anyone recommend how to create a question that could receive multiple text entry responses? Imagine a question like: "please write down what comes to mind when you think of X" followed by multiple text entry fields. Something like a form, but without labels. Any ideas? Thanks in advance!

Best answer by TomG

@AndyScisco, Use this JS: ``` Qualtrics.SurveyEngine.addOnload(function() { jQuery("#"+this.questionId+" td:not(.ControlContainer)").hide(); }); ``` You can label the rows whatever you want (e.g., 1, 2, 3, etc.).

7 replies

Forum|alt.badge.img+1
  • Level 1 ●
  • 11 replies
  • March 28, 2019
Yep! In question type hit the down arrow to the right of text entry and select "form" and choose how many form fields you want. I think you knew this part. But then in the label you want to remove, type " " without quotes and hit enter and the label disappears. ! !

  • Author
  • 8 replies
  • March 28, 2019
Thanks StevenA. This almost solves it. Ideally I'd like to make the text entry boxes align left as the formatting looks a bit wonky with this workaround. Any idea how to remove the label space entirely? !

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • Answer
  • March 28, 2019
@AndyScisco, Use this JS: ``` Qualtrics.SurveyEngine.addOnload(function() { jQuery("#"+this.questionId+" td:not(.ControlContainer)").hide(); }); ``` You can label the rows whatever you want (e.g., 1, 2, 3, etc.).

  • Author
  • 8 replies
  • March 28, 2019
@TomG Works like a charm! Thanks! !

  • Author
  • 8 replies
  • March 29, 2019
Hi again @TomG! Just a follow up question. In your response you mentioned that it is possible to number the rows. I've tested inserting numbers (in what normally would be the label field) but nothing shows up on the live survey. Is there a trick to this?

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • March 29, 2019
> @AndyScisco said: > Hi again @TomG! > Just a follow up question. In your response you mentioned that it is possible to number the rows. I've tested inserting numbers (in what normally would be the label field) but nothing shows up on the live survey. Is there a trick to this? Why did you you say my original answer worked like a charm, then downvote it? The line of script I provided hides the label column...that's why I pointed out that you can put anything you want in the label because the respondent won't see it. If you want to number the inputs, you need to change the width of the input column instead of hiding the label column: ``` Qualtrics.SurveyEngine.addOnload(function() { jQuery("#"+this.questionId+" td.ControlContainer").css("width", "95%"); }); ```

  • Author
  • 8 replies
  • March 29, 2019
Hi @TomG! Thanks for clarifying! I didn't realize I'd downvoted your response - sorry, that was unintentional.