Skip to main content
Version: Latest Version (2.9.1)

highbond_question_simple (Resource)

Schema

Required

item_typeString Specifies the type of the questionnaire item. Enum: ParagraphTextQuestion, AttachmentQuestion, TextQuestion, EmailQuestion, NumericQuestion, DateQuestion, DigitalSignatureQuestion
questionnaire_idString The ID of the Questionnaire
textString The simple question text

Optional

column_textString The column display name in linked tables
force_updatesBoolean Allows overriding top-level 'create_only' option.
idString The ID of this resource.
instructionsString The instructions for answering the question
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 Simple question within the questionnaire
weightNumber Adds importance weight to simple question

Read-Only

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

Example Usage

resource "highbond_question_simple" "main" {
questionnaire_id = highbond_questionnaire.main.id
text = "How do you feel at home"
instructions = "Be safe at home. Stay safe and stay home"
column_text = "No text"
optional = false
item_type = "ParagraphTextQuestion"
position = 3
reference_id = "Important"
weight = 1.88 // Only 2 digits after decimal point are allowed
force_updates = true // Create only with force update changes
}