Skip to content

UpdateQuestionTemplateInput

Autogenerated input type of UpdateQuestionTemplate

Fields

deprecated DO NOT USE
carry_forward · Boolean · If true, placed instances pre-populate from the client's most recent response
id · ID! · required · ID of the question template to update
image · Upload · Image file for an image question template. Omit to preserve the current image; pass null to remove it.
label · String · Display label for the question
metadata · String · A serialized JSON string of metadata. Maximum character limit of 128,000.
mod_type · QuestionTemplateModTypeEnum · 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 UpdateQuestionTemplate
"""
input UpdateQuestionTemplateInput {
"""
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
"""
ID of the question template to update
"""
id: ID!
"""
Image file for an image question template. Omit to preserve the current image; pass null to remove it.
"""
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
"""
Secondary label shown below the main label
"""
sublabel: String
}