Skip to main content
Version: v2.4.1

StringOption

Defined in: parser/types.ts:328

The StringOption interface is used to define the options for a dropdown, radio, buttons, checkbox, matrix, and ranking response. The label is the text that is displayed to the user, and the value is the value that is stored in the data file.

Properties​

PropertyTypeDescriptionDefined in
infoText?stringThe description that is displayed when the participant hovers over the option. This does not accept markdown.parser/types.ts:334
labelstringThe label displayed to participants. Markdown is supported.parser/types.ts:330
value?stringThe value stored in the participant's data. Defaults to label.parser/types.ts:332