MatrixQuestionOption
Defined in: parser/types.ts:360
The MatrixQuestionOption interface is used to define the question options for matrix responses.
The label is the fallback text displayed to participants, and the value is the key stored in the participant's data.
The optional left and right labels allow bipolar rows to label each side of the matrix without changing stored values.
When leftLabel is specified, it takes precedence over label for the left-side row text.
Extends​
Properties​
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
infoText? | string | The description that is displayed when the participant hovers over the option. This does not accept markdown. | StringOption.infoText | parser/types.ts:351 |
label | string | The label displayed to participants. Markdown is supported. | StringOption.label | parser/types.ts:347 |
leftLabel? | string | The label displayed on the left side of the matrix row. Takes precedence over label when specified. Defaults to label. | - | parser/types.ts:362 |
rightLabel? | string | The label displayed on the right side of the matrix row. | - | parser/types.ts:364 |
value? | string | The value stored in the participant's data. Defaults to label. | StringOption.value | parser/types.ts:349 |