resource "highbond_question_choice" "main" {
questionnaire_id = highbond_questionnaire.main.id
text = "Terraform : How do you feel at home during Covid"
instructions = "Stay safe and stay home. It's not your choice. Its a govt order"
column_text = "No text"
optional = false
item_type = "MultipleChoiceQuestion"
position = 4
other_value = "None of the above"
reference_id = "Important"
weight = 1.88 // Only 2 digits after decimal point are allowed
force_updates = true // Create only with force update changes
options {
text = "Safe"
reference_id = "Safety"
weight = 1.88 // Only 2 digits after decimal point are allowed
}
options {
text = "Not Safe"
follow_up_questions = [
highbond_question_simple.main.id,
highbond_question_numeric.main.id
]
}
}
item_type
(String) Specifies the type of the questionnaire item. Enum: SingleChoiceQuestion, MultipleChoiceQuestion, DropdownQuestionoptions
(Block List, Min: 1) List of Options available (see below for nested schema)questionnaire_id
(String) The ID of the Questionnairetext
(String) The main text of the questioncolumn_text
(String) The display name of the question when it appears in a tableforce_updates
(Boolean) Allows overriding top-level 'create_only' option.instructions
(String) The instructions for answering the questionoptional
(Boolean) Specifies whether the question is optionalother_value
(String) When spcified, respondents can provide an alternative answer if the available options do not apply to them. The text will be used as the label to this optionposition
(Number) The position value determines the order of items within the questionnairereference_id
(String) Unique identifier for the question within the questionnaire, and for the response option within the choice question.weight
(Number) Adds importance weight to choice questioncreated_at
(String) The date the question was createdid
(String) The ID of this resource.question_id
(Number) Id of the questionupdated_at
(String) The date the question was updatedoptions
Required:
text
(String) The text of an optionOptional:
follow_up_questions
(List of Number) The IDs of the follow-up questions to an optionreference_id
(String) Unique identifier for the response option within the choice questionweight
(Number) Adds importance weight to an option