Skip to main content

SurveyQuestionType

Defines the input type of a survey question, which determines how it is rendered and what responses are accepted.

enum SurveyQuestionType {
CHECKBOX_VALID_RESPONSES
CHECKBOX_VALID_RESPONSES_AND_OTHER
DATE
DROPDOWN_4_AGREE_DISAGREE
DROPDOWN_5_AGREE_DISAGREE
DROPDOWN_RATING_1_TO_5
DROPDOWN_TRUE_FALSE
DROPDOWN_VALID_RESPONSES
DROPDOWN_YES_NO
NUMBER
RADIO_BUTTONS_4_AGREE_DISAGREE
RADIO_BUTTONS_5_AGREE_DISAGREE
RADIO_BUTTONS_RATING_1_TO_5
RADIO_BUTTONS_TRUE_FALSE
RADIO_BUTTONS_VALID_RESPONSES
RADIO_BUTTONS_VALID_RESPONSES_AND_OTHER
RADIO_BUTTONS_YES_NO
TEXT_MULTI_LINE
TEXT_SINGLE_LINE
UPLOAD_DOCUMENT
}

Values

SurveyQuestionType.CHECKBOX_VALID_RESPONSES

A set of checkboxes presenting a configurable set of predefined response options, allowing multiple selections. Available options are defined in validResponses.

SurveyQuestionType.CHECKBOX_VALID_RESPONSES_AND_OTHER

A set of checkboxes presenting a configurable set of predefined response options plus an Other option, allowing multiple selections. Available options are defined in validResponses. When the respondent selects Other, their input is captured in QuestionResponse.other.

SurveyQuestionType.DATE

A date picker allowing the respondent to select a date.

A dropdown presenting four options on an agree/disagree scale: Agree, Partly Agree, Partly Disagree, and Disagree.

A dropdown presenting five options on an agree/disagree scale: Agree, Partly Agree, Neither Agree Nor Disagree, Partly Disagree, and Disagree.

A dropdown presenting a numeric rating scale from 1 to 5.

A dropdown presenting two options: True and False.

A dropdown presenting a configurable set of predefined response options. Available options are defined in validResponses.

A dropdown presenting two options: Yes and No.

SurveyQuestionType.NUMBER

A numeric input field accepting a whole or decimal number.

SurveyQuestionType.RADIO_BUTTONS_4_AGREE_DISAGREE

A radio button group presenting four options on an agree/disagree scale: Agree, Partly Agree, Partly Disagree, and Disagree.

SurveyQuestionType.RADIO_BUTTONS_5_AGREE_DISAGREE

A radio button group presenting five options on an agree/disagree scale: Agree, Partly Agree, Neither Agree Nor Disagree, Partly Disagree, and Disagree.

SurveyQuestionType.RADIO_BUTTONS_RATING_1_TO_5

A radio button group presenting a numeric rating scale from 1 to 5.

SurveyQuestionType.RADIO_BUTTONS_TRUE_FALSE

A radio button group presenting two options: True and False.

SurveyQuestionType.RADIO_BUTTONS_VALID_RESPONSES

A radio button group presenting a configurable set of predefined response options. Available options are defined in validResponses.

SurveyQuestionType.RADIO_BUTTONS_VALID_RESPONSES_AND_OTHER

A radio button group presenting a configurable set of predefined response options plus an Other option. Available options are defined in validResponses. When the respondent selects Other, their input is captured in QuestionResponse.other.

SurveyQuestionType.RADIO_BUTTONS_YES_NO

A radio button group presenting two options: Yes and No.

SurveyQuestionType.TEXT_MULTI_LINE

A multi-line free-text input field.

SurveyQuestionType.TEXT_SINGLE_LINE

A single-line free-text input field.

SurveyQuestionType.UPLOAD_DOCUMENT

A file upload field allowing the respondent to attach a document.

Member Of

SurveyQuestion object