Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Shared lists > Subheadings with shared lists
Subheadings with shared lists
Very long lists can be made more readable and easy to use if you break them up using subheadings. The subheadings provide an overall structure to the list by grouping similar or related responses together and, because the responses in a group are indented below their subheading, make it easier to scan the list in search of particular responses.
There are two ways of defining subheadings, depending on the way the lists are defined and used in the script.
To place subheadings inside a shared list, split the list into subsections using curly braces and give each subsection a subheading. For more information, see Subheadings in a shared list.
If you are loading shared lists into a question and want to precede each list with a subheading, put the sublist keyword on the use statement that loads the shared list. Then define the subheading after the sublist keyword or as part of the list definition itself. For more information, see Subheadings using “sublist”.
Example output for a shared list with subheadings
This graphic is described in the surrounding text.
See also
Subheadings in a shared list
Subheadings using “sublist”
Response indentation with subheadings
Sorting responses with subheadings
Shared lists