The default behavior in Qualtrics is to display the block names in the Table of Contents (TOC). However, there is a way to customize the display of the TOC by using JavaScript and CSS.
To build a TOC using group names instead of block names, you would need to modify the survey's look and feel using JavaScript and CSS. Here's a general outline of the steps you can follow:
-
Enable Custom JavaScript and CSS: In Qualtrics, go to the survey's Look & Feel section and enable the option to use custom JavaScript and CSS.
-
Identify Group Names: Take note of the group names you want to use in the TOC. Group names are defined when you create groups to organize your blocks in Qualtrics.
-
Create Custom TOC: Using JavaScript, you can target the TOC element and modify its content. You'll need to access the TOC element's HTML and modify it to display the desired group names instead of block names. This can be done by traversing through the survey's block structure and extracting the group names.
-
Apply Styling (Optional): If needed, you can use CSS to style the TOC according to your preferences, such as changing fonts, colors, or adding other visual elements.
Good luck!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.