Skip to content

CreateQuestionTemplateInput

Autogenerated input type of CreateQuestionTemplate

Fields

deprecated DO NOT USE
carry_forward · Boolean · If true, placed instances pre-populate from the client's most recent response
image · Upload · Image file for an image question template.
label · String! · required · Display label for the question
metadata · String · A serialized JSON string of metadata. Maximum character limit of 128,000.
mod_type · QuestionTemplateModTypeEnum! · required · Question type. Restricted to types eligible to be a template — profile-synced and chart-entry types are excluded.
options · String · Newline-separated answer options for choice-type questions
options_array · [String] · Answer options as an array. Takes precedence over options for choice-type questions.
required · Boolean · If true, the question is required when placed on a form
sublabel · String · Secondary label shown below the main label

Used By

Definition

"""
Autogenerated input type of CreateQuestionTemplate
"""
input CreateQuestionTemplateInput {
"""
DO NOT USE
"""
clientMutationId: String @deprecated(reason: "DO NOT USE")
"""
If true, placed instances pre-populate from the client's most recent response
"""
carry_forward: Boolean = false
"""
Image file for an image question template.
"""
image: Upload
"""
Display label for the question
"""
label: String!
"""
A serialized JSON string of metadata. Maximum character limit of 128,000.
"""
metadata: String
"""
Question type. Restricted to types eligible to be a template — profile-synced and chart-entry types are excluded.
"""
mod_type: QuestionTemplateModTypeEnum!
"""
Newline-separated answer options for choice-type questions
"""
options: String
"""
Answer options as an array. Takes precedence over options for choice-type questions.
"""
options_array: [String]
"""
If true, the question is required when placed on a form
"""
required: Boolean = false
"""
Secondary label shown below the main label
"""
sublabel: String
}