highbond_question_simple (Resource)
Schema
Required
| item_type | String | Specifies the type of the questionnaire item. Enum: ParagraphTextQuestion, AttachmentQuestion, TextQuestion, EmailQuestion, NumericQuestion, DateQuestion, DigitalSignatureQuestion |
| questionnaire_id | String | The ID of the Questionnaire |
| text | String | The simple question text |
Optional
| column_text | String | The column display name in linked tables |
| force_updates | Boolean | Allows overriding top-level 'create_only' option. |
| id | String | The ID of this resource. |
| instructions | String | The instructions for answering the question |
| optional | Boolean | Specifies whether the question is optional |
| position | Number | The position value determines the order of items within the questionnaire |
| reference_id | String | Unique identifier for the Simple question within the questionnaire |
| weight | Number | Adds importance weight to simple question |
Read-Only
| created_at | String | The date the question was created |
| question_id | Number | Id of the question |
| updated_at | String | 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
}
