1. Home
  2. Other Resources
  3. FAQ
  4. Increase text field length of matrix question incl. one column (professional user)

Increase text field length of matrix question incl. one column (professional user)

Assume you have a one-column matrix question in the survey and have the Text question type configured for the rows. This would be structured roughly as follows:

In order to increase the size of the text fields in the various rows throughout the matrix questions of a survey, you must include a script in the Hint text. The procedure is as follows:

  • Select the required matrix question from the survey to display the corresponding set-up data for this matrix question on the right.
  • Tick the box next to Hint text and click in the input box displayed below.
  • Click on the Rich text editor link at the top right of the input box to reveal the RTE window.
  • Click on the Code View icon in this window.
  • Insert the cursor into the input box and add the following script:

<style type="text/css">
 .rt-container .rt-matrix-container table .rt-mtx-choice-has-open label + .rt-mtx-open-container {
  width: 100%;
 }

</style>

  • Click the Save changes button at the bottom of the window to immediately resize the text fields for all matrix questions, see image below.





Updated on October 7, 2021

Was this article helpful?

Related Articles