Skip to main content
Version: v2.4.4

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​

PropertyTypeDescriptionInherited fromDefined in
infoText?stringThe description that is displayed when the participant hovers over the option. This does not accept markdown.StringOption.infoTextparser/types.ts:351
labelstringThe label displayed to participants. Markdown is supported.StringOption.labelparser/types.ts:347
leftLabel?stringThe label displayed on the left side of the matrix row. Takes precedence over label when specified. Defaults to label.-parser/types.ts:362
rightLabel?stringThe label displayed on the right side of the matrix row.-parser/types.ts:364
value?stringThe value stored in the participant's data. Defaults to label.StringOption.valueparser/types.ts:349