It would be very useful if one could put subheadings to divide up a grid component. See attached image for an example.

The attached patch allows this. Simply add the “==Heading==” on the same line as the question it should precede. Example, used in image:

==Human Biology== Gross Anatomy
Histology
Neuroscience
<i>etc.</i>

I first tried to have the headings go between angle brackets to follow the pattern of optgroups in selects, but text in angle brackets was, fo course, removed as part of cleaning away HTML tags. Perhaps there is a better way to do this, but the patch works well as is.

Comments

quicksketch’s picture

Status: Needs review » Needs work

I like this idea, however we should try and figure out a way to use the angle brackets to the match the select list syntax.

quicksketch’s picture

Version: » 6.x-3.x-dev

This is still a valid request but need to be rerolled to use the standard angle bracket format and work with Options Element module.

quicksketch’s picture

Status: Needs work » Closed (won't fix)

Please reopen if you're still interested in this issue after incorporating the above feedback. As no one else has requested it and I have no need myself I'm moving to won't fix.