Difficulty level: Difficult
What does the functionality do?
Using a script, you can increase the width of the text column in the matrix questions of a survey.
Use case and how to set it up?
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.