Question definition
anyOf- Multiple Choice question definition
- Matrix question definition
- Text Entry question definition
- Slider question definition
- Descriptive Text question definition
- Graphic question definition
The order the choices are to be displayed in.
Possible values: Value must match regular expression ^[\d]+$
["1","2"]Choices objectrequired
Selections for a question
property name* object
Configuration objectrequired
Configurations for how the question should be displayed
An optional user-provided field for question descriptions.
Possible values: [UseText, SpecifyLabel]
Text position.
Possible values: [inline]
Value of column width.
Possible values: [25]
Repeating of headers.
Possible values: [none]
If white space is allowed.
Possible values: [ON, OFF]
Position of label.
Possible values: [BELOW, SIDE]
Number of columns.
If questions should be formatted for use on a mobile device.
Configurations for how the question should be displayed
The tag to identify the question in exported data.
Language objectrequired
Question translations
- string[]
- object
Label to identify the question
The unique identifier for the question.
Possible values: Value must match regular expression ^QID[a-zA-Z0-9]+$
Text for the question.
Possible values: <= 1000 characters
Defines the structure and purpose of the question and determines how the question is presented to respondents.
| Supported enum values |
|---|
MCMultiple Choice |
Possible values: [MC]
Randomization object
Randomize choices within a question.
- string
- object
RecodeValues object
Numeric mapping of question choices.
Defines the format used for collecting responses within the QuestionType and determines how respondents interact with the question to provide their answers.
| Supported enum values |
|---|
DLDropdown List |
GRBGraphic |
MACOLMulti Answer Columns |
MAHRMulti Answer Horizontal Row |
MAVRMulti Answer Vertical Row |
MSBMulti Select Box |
NPSNet Promoter Score |
SACOLSingle Answer Column |
SAHRSingle Answer Horizontal Row |
SAVRSingle Answer Vertical Row |
SBSelect Box (single answer) |
TBText Block |
TXOTWith Text and Others |
PTBPlain Text Box |
Possible values: [DL, GRB, MACOL, MAHR, MAVR, MSB, NPS, SACOL, SAHR, SAVR, SB, TB, TXOT, PTB]
Refines the Selector by providing additional options or variations for response collection. It allows for more specific customization of how answers are gathered within the chosen question type and Selector.
| Supported enum values |
|---|
GRWith Graphic |
TXWith Text |
TXOTWith Text and Others |
WOTXBWithout Text Box |
WTXBWith Text |
Possible values: [GR, TX, TXOT, WOTXB, WTXB]
Validation objectrequired
Force respondents to answer a question or request that they consider answering the question before leaving the page
Settings objectrequired
CustomValidation object
Additional validation to direct respondents to answer questions in a certain way.
Logic objectrequired
Send respondents down different paths in the survey. See Qualtics Documentation for more information on Branch Logic
Type of branch logic.
Possible values: [BooleanExpression]
property name* object
- QuestionExpression
- EmbeddedDataExpression
- DeviceTypeExpression
- QuotaExpression
- GeoIPExpression
- EvaluatorMetadataExpression
- PanelDataExpression
- LoopAndMergeExpression
- RelationshipExpression
- SubjectMetadataExpression
- OrgHierarchyUnitsExpression
- OrgHierarchyMetadataExpression
ChoiceLocator objectrequired
Locator.
- Classic locator, begins with two alpha characters followed by a | and any combination of alpha and | characaters
- Current url locator regex pattern, matching entire string
- Current url locator regex pattern, matching the entire string, allow no white space, this should mirror the above* regex but allow no white space
The logic type of a question expression.
Possible values: [Question]
Operator.
Possible values: [Selected, NotSelected, EqualTo, NotEqualTo, Empty, NotEmpty, Displayed, NotDisplayed, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual, Contains, DoesNotContain, MatchesRegex, IsNot, Uploaded, NotUploaded, PDF, Document, ClickedIn, NotClickedIn, Extensions, Graphic, Spreadsheet]
The unique identifier for the question.
Possible values: Value must match regular expression ^QID[a-zA-Z0-9]+$
If yes, question is in loop.
Possible values: [yes, no]
The type of question expression.
Possible values: [Expression]
Message objectrequired
Message to display when respondents don't fulfill the validation
A user-provided description of the custom validation.
libraryID objectrequired
- User Id
- Group Id
The unique identifier for a specific user.
Possible values: Value must match regular expression ^UR_[a-zA-Z0-9]{11,15}$
The unique identifier for the message.
Possible values: Value must match regular expression ^MS_[a-zA-Z0-9]{11,15}$
The unique identifier for the subMessageID.
Possible values: [VE_FORCE_RESPONSE, VE_FORCE_RESPONSE_PLURAL, VE_FORCE_RESPONSE_MORE, VE_FORCE_RESPONSE_OTHER, VE_MIN_CHOICES, VE_MAX_CHOICES, VE_MAX_CHOICES_PGR, VE_MIN_CHOICES_MATRIX, VE_MAX_CHOICES_MATRIX, VE_MIN_CHOICES_HLText, VE_MAX_CHOICES_HLText, VE_INCORRECT_TOTAL, VE_TOO_MANY_CHARACTERS, VE_TOO_MANY_CHARACTERS_PLURAL, VE_TOO_FEW_CHARACTERS, VE_TOO_FEW_CHARACTERS_PLURAL, VE_NOT_CONSECUTIVE, VE_NOT_CONSECUTIVE_RANGE, VE_VALIDATION_FAILED, VE_VALIDUSSTATE, VE_VALIDCAPHONE, VE_VALIDUKPHONE, VE_VALIDUKZIP, VE_VALIDAUPHONE, VE_VALIDNLPHONE, VE_VALIDNZPHONE, VE_VALIDAUZIP, VE_VALIDNZZIP, VE_VALIDNLZIP, VE_VALIDUSZIP, VE_VALIDCAZIP, VE_VALIDDATE, VE_VALIDALTDATE, VE_VALIDINTLDATE, VE_VALIDNUMBER, VE_VALIDTEXTONLY, VE_VALIDUSSTATE_PLURAL, VE_VALIDEMAIL_PLURAL, VE_VALIDUSPHONE_PLURAL, VE_VALIDUSZIP_PLURAL, VE_VALIDDATE_PLURAL, VE_VALIDNUMBER_PLURAL, VE_VALIDTEXTONLY_PLURAL, VE_VALIDEXTENSIONS, VE_VALIDPDF, VE_VALIDDOCUMENT, VE_VALIDEMAIL, VE_VALIDSPREADSHEET, VE_VALIDGRAPHIC, VE_VALIDUPLOAD, VE_VALIDSCREENCAPTURE, VE_TEXT_ENTRY_HAS_VALUE_BUT_NOT_CHECKED, VE_TEXT_ENTRY_HAS_VALUE_BUT_NOT_RANKED, VE_SELECT_LEAST_MOST_PREFERRED, VE_SELECT_LEAST_MOST_LEVEL, VE_SELECT_MOST_VALUE_UPGRADE, VE_SELECT_VALUABLE_LEVEL, VE_IMPORTANCE_TOTAL, VE_MIN_GROUP_CHOICES, VE_MAX_GROUP_CHOICES, VE_VALIDNUMBER_MIN, VE_VALIDNUMBER_MAX, VE_VALIDMIN_PLURAL, VE_VALIDMAX_PLURAL, VE_VALIDNUMBER_NUM_DECIMALS, VE_FORCE_OTHER_RESPONSE, VE_HEADER_VALIDATION_MESSAGE, VE_CUSTOM_VALIDATION_NO_MESSAGE, VE_CUSTOM_VALIDATION_NOT_APPLIED, VE_QUESTION, VE_ERROR, VE_INCORRECT_CAPTCHA_RESPONSE, VE_MULTIPLE_CHOICES]
Message to display when respondents don't fulfill the validation
Additional validation to direct respondents to answer questions in a certain way.
The forced response.
The type of forced response.
Settings type.
Force respondents to answer a question or request that they consider answering the question before leaving the page
{
"ChoiceOrder": [
"1",
"2"
],
"Choices": {
"1": {
"Display": "choice 1"
},
"2": {
"Display": "choice 2"
}
},
"Configuration": {
"QuestionDescriptionOption": "UseText",
"TextPosition": "inline",
"ChoiceColumnWidth": 25,
"RepeatHeaders": "none",
"WhiteSpace": "ON",
"LabelPosition": "BELOW",
"NumColumns": 0,
"MobileFirst": true
},
"DataExportTag": "string",
"Language": [
"string"
],
"NextAnswerId": 0,
"NextChoiceId": 0,
"QuestionDescription": "string",
"QuestionID": "string",
"QuestionText": "string",
"QuestionType": "MC",
"Randomization": "string",
"RecodeValues": {
"1": "1",
"2": "2",
"3": "-1000"
},
"Selector": "DL",
"SubSelector": "GR",
"Validation": {
"Settings": {
"CustomValidation": {
"Logic": {
"Type": "BooleanExpression"
},
"Message": {
"description": "string",
"libraryID": "string",
"messageID": "string",
"subMessageID": "VE_FORCE_RESPONSE"
}
},
"ForceResponse": "string",
"ForceResponseType": "string",
"Type": "string"
}
}
}