Display Multiple-Select Choices Horizontally or in Tables

By default, the choices for a multiple-select question are displayed as a vertical list. Sometimes, you might want to arrange the choices horizontally or in a table.

You can use the $SET_EACH_POSITION variable together with answer placeholder strings <_> to specify the location of each answer choice in your question.

To specify the positions of answer choices:

  1. Include an answer placeholder string <_> in Question for each choice.
    Put the answer placeholder strings <_> where the choices should be displayed.
  2. Start the first line of Answer with the following code:
    <eqn $SET_EACH_POSITION=1; ''>
    Note: If you use the $ORDERED and $SET_EACH_POSITION variables together, you must specify $ORDERED first, and then $SET_EACH_POSITION.

Example Tabular Multiple-Select Question

The following table summarizes an actual question.

QID

1158786

Name

Template2 2.MS.03.

Mode

Multiple-Select

Question

Select the metric units:
<table>
<tr><td><_></td><td><_></td><td><_></td><td><_></td></tr>
<tr><td><_></td><td><_></td><td><_></td><td><_></td></tr>
</table>

Answer

<eqn $SET_EACH_POSITION=1; ''>meter
second
gram
liter
<INCORRECT>mile
yard
acre
pound

Display to Students

Question as displayed to students