This script will change the font size of the header text in one of the following standard grid questions:
- Single Choice Grid
- Multi Choice Grid
- Rank Order Grid
Note: This script will not work for visual questions.
Detailed Steps
Create the questions:
- Click on the Questionnaire tab of your survey.
- Create your standard Grid question.
Prepare the script in Notepad:
- Open Notepad or a similar text editing tool.
- Copy the script below into Notepad.
- Change 12 to the required font size. A larger number will increase the font size and a smaller number will decrease the font size.
- Save the completed script in Notepad.
Script:
<!--
Script Name: How do I change the size of the header text in a standard grid question?
To ensure your script works as expected, always copy the original script from the script library found in the support portal. Failure to use the most up to date script from the script library may cause unexpected results.
-->
<style>
.ResponseGridHeaderTd { font-size: 12pt;}
</style>
Insert the completed script into the Script section of your Grid question:
- Copy the completed script from Notepad.
- Select the Grid question in the Questionnaire tree.
- In the Scripting section of the Grid question, click Edit Scripts.
- Paste the script into the Style tab.
- Click Save.
- Validate and test your survey.
Note:
- If you want to update the header text for multiple grid questions, then please repeat this process for each question.
- If you have more than one grid question on a page, then please use the script once in the Style tab of the page.
More Information
For more information, please see our WebHelp topics:
Comments
0 comments
Article is closed for comments.