Adding headers in answer sets

Problem

You want to insert headers in an answer set to visually regroup answer categories.

Solution

Insert non-selectable categories in the answer set as in:

    *101*N*EAST
    *1*Newfoundland and Labrador
    *2*Prince Edward Island
    *3*Nova Scotia
    *4*New Brunswick
    *102*N*CENTRAL
    *5*Quebec
    *6*Ontario
    *103*N*WEST
    *7*Manitoba
    *8*Saskatchewan
    *9*Alberta
    *10*British Columbia
    *104*N* 
    *99*Don't know

Discussion

Answer categories tagged with an N behaviour code are considered "non selectable". That means that they are displayed on screen but that no method of selecting them is offered: they don't come with a radio button, nor a check box. Therefore, only their label is displayed and they can play the role of headers in the answer set.

Such headers can be made visually more evident by bolding them, boxing them or changing the color of the text. All of these appearance changes can be implemented through CSS styles and a style can be applied to header text using the SPAN HTML tag as in:

    *101*N*<SPAN CLASS=somestyle>EAST</SPAN>

Adding headers in answer sets

Problem

You want to insert headers in an answer set to visually regroup answer categories.

Solution

Insert non-selectable categories in the answer set as in:

    *101*N*EAST
    *1*Newfoundland and Labrador
    *2*Prince Edward Island
    *3*Nova Scotia
    *4*New Brunswick
    *102*N*CENTRAL
    *5*Quebec
    *6*Ontario
    *103*N*WEST
    *7*Manitoba
    *8*Saskatchewan
    *9*Alberta
    *10*British Columbia
    *104*N*&nbsp;
    *99*Don't know

Discussion

Answer categories tagged with an N behaviour code are considered "non selectable". That means that they are displayed on screen but that no method of selecting them is offered: they don't come with a radio button, nor a check box. Therefore, only their label is displayed and they can play the role of headers in the answer set.

Such headers can be made visually more evident by bolding them, boxing them or changing the color of the text. All of these appearance changes can be implemented through CSS styles and a style can be applied to header text using the SPAN HTML tag as in:

    *101*N*<SPAN CLASS=somestyle>EAST</SPAN>