Skip to main content
Version: Latest Version (2.9.1)

highbond_question_numeric (Resource)

Schema

Required

questionnaire_idString The ID of the Questionnaire
scale_endNumber The end of the numeric scale
scale_startNumber The start of the numeric scale
textString The main text of the question

Optional

column_textString The display name of the question when it appears in a table
force_updatesBoolean Allows overriding top-level 'create_only' option.
idString The ID of this resource.
instructionsString The instructions for answering the question
label_centerString The label for the center of the numeric scale
label_leftString The label for the low end of the numeric scale
label_rightString The label for the high end of the numeric scale
optionalBoolean Specifies whether the question is optional
positionNumber The position value determines the order of items within the questionnaire
reference_idString Unique identifier for the Numeric Scale question within the questionnaire
weightNumber Adds importance weight to numeric scale question

Read-Only

created_atString The date the question was created
item_typeString The response type of the question
question_idNumber Id of the question
updated_atString The date the question was updated

Example Usage

resource "highbond_question_numeric" "main" {
questionnaire_id = highbond_questionnaire.main.id
text = "On a scale of 1 to 10, how much do you love cats?"
instructions = "10 is the only right choice."
column_text = "Cat love number"
optional = false
scale_start = 1
scale_end = 10
label_left = "This is the beginning of the scale."
label_center = "This is the center of the scale."
label_right = "This is the end of the scale."
position = 5
reference_id = "Important"
weight = 1.88 // Only 2 digits after decimal point are allowed
force_updates = true // Create only with force update changes
}