Variable set layout

Variable sets can have one of many layouts.

  • 1 column wide: Variables appear in a single vertical column, ordered from top to bottom. This column is a simple way to display information, but can result in empty space to the right of questions. This order is the default layout.
  • 2 columns wide, alternating sides: Variables are laid out in two columns with variables placed alternately in the left and right columns.
  • 2 columns wide, one side, then the other: The first half of the variable set is laid out sequentially in the left column and the second half is laid out sequentially in the right column.
Note: Variables with several possible choices defined, such as multiple choice variables, are considered a single entity in layouts. All choices are displayed as a single, contiguous unit.

Variable set order

A variable set is a discrete unit with an order number by default. All variables within the set are included wherever the set is included.

For example, if you set the following order for some example variables and a variable set:
  • Variable A (100)
  • Variable B (200)
  • Variable C (300)
  • Variable Set 1 (250) - containing three variables (VS1, VS2, VS3) with incremental order values (150, 250, 350)

The variables are displayed in this order:

  • Variable A (100)
  • Variable B (200)
  • Variable Set 1 (250): Variable VS1 (150)
  • Variable Set 1 (250): Variable VS2 (250)
  • Variable Set 1 (250): Variable VS3 (350)
  • Variable C (300)

Additional layout options

For additional layout options, you can also add container variables to a variable set.

For example, create the following variables and orders:

Table 1. Order of variables
Variable Order
Alfa 100
Bravo

200

Charlie

300

Delta

400

Echo

500

Foxtrot

600

Table 2. Order of variables in a layout
1 Column Wide 2 Columns Wide, alternating sides 2 Columns Wide, 1 side, then the other

Alfa

Bravo

Charlie

Delta

Echo

Foxtrot

Alfa Bravo

Charlie Delta

Echo Foxtrot

Alfa Delta

Bravo Echo

Charlie Foxtrot