Building TOC from Group names | XM Community
Skip to main content
Is there a way to build a TOC using the group names instead of the block names? An alternative would be to inhibit the display of certain blocks in the TOC.

@diego ,  You almost certainly have either figured out an answer to your question above or found a work-around. This question in the Qualtrics system is quite old! But since you never got anyone to reply to your question, I thought I would give it a try.

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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