Contrasting text tables, also known as contratext or bipolar tables, are useful for comparing two extreme items or points of a scale in a single row. Text is displayed on both the left and right sides of the table, with options in the middle allowing respondents to indicate their preference between the two items.
Details
- Contratext tables are single select tables that can be created with either question-style syntax (
type: radio table
) or with thestart table
widget for more advanced scenarios. - Place both items being compared in a single row, with the
|||
("triple pipe") between them to differentiate which item is displayed on the left and which is displayed on the right. - When applying the '|||' triple-pipe to separate the statements, IntelliSurvey treats everything to the left of the triple-pipe as "text" and everything to the right of it as "contratext."
- When including table heading tags,
mode: classic
is required for most survey themes. For assistance, contact Support or send an email to help@intellisurvey.com.
Tags
Many of the tags used for table headings can also be applied to contratext tables. The following tags are commonly included. Note that the left input is always specified first.
Tag | Description |
(alias |
Randomizes the left or right placement of each contratext option within its row. This means some rows will display as A | B, while others will display as B | A. |
text /contratext
|
The text and contratext decorators and option data placeholders can be used to specify the display of alternate text for a pair of statements; for example, rowsfrom: LIST {text: I prefer [text] } {contratext: I prefer [contratext] } . |
textalign |
Changes the alignment of the text and contratext in the left or right-most columns of the table. Inputs include 'left', 'right', or 'center'; e.g., textalign: left ||| right . |
textheading |
Adds headings above the left and right-most columns (above the statement pairs); e.g., Include |
textheadingalign |
Changes the alignment of headings in the left and right-most columns of the table. Inputs include 'left', 'right', or 'center', e.g., Include |
textwidth |
Specifies a width in pixels for the left or right-most columns of the table — e.g., textwidth: 250 ||| 250 . |
Additional examples
Text headings and alignment
This example applies several heading and alignment tags shown above. It's important to note that when using table headings, the mode
tag is needed to change the table's style to 'classic'.
Randomizing the options on the left or right
This table randomizes the placement of each contratext option to be either on the left or the right.
Comments
0 comments
Please sign in to leave a comment.