Skip to content

CustomModuleCollection

A group of questions within a custom module form

Fields

condition_custom_module · CustomModule · The question whose answer is evaluated to decide whether this group is shown
condition_custom_module_id · ID · ID of the question whose answer is evaluated to decide whether this group is shown
created_at · ISO8601DateTime! · required · The date on which the question group was created
custom_module_collection_audit_events · [CustomModuleCollectionAuditEvent!]! · required · Lifecycle history for this question group template, newest first
custom_module_form · CustomModuleForm · The form this question group belongs to
custom_module_form_id · ID · ID of the form this question group belongs to
custom_modules · [CustomModule!] · The questions within this group
filter_type · FilterTypeEnum · The comparison operator applied to the question's answer
id · ID! · required · The unique identifier of the question group
is_archived · Boolean! · required · Whether this question group template is archived (hidden from the question bank)
label · String! · required · Display label for the question group
parent_custom_module_collection_id · ID · ID of the question group template this group was placed from; null when the group is an independent copy
placed_in_forms · GroupTemplatePlacementPaginationConnection! · required · Paginated forms that currently have a group placed from this template, ordered by name
placed_in_forms_count · Int! · required · The number of forms that currently have a group placed from this template
position · Float! · required · Ordering position within the form
updated_at · ISO8601DateTime! · required · The date on which the question group was last updated
value_to_filter · String · The value the question's answer is compared against

Used By

Definition

"""
A group of questions within a custom module form
"""
type CustomModuleCollection {
"""
The question whose answer is evaluated to decide whether this group is shown
"""
condition_custom_module: CustomModule
"""
ID of the question whose answer is evaluated to decide whether this group is shown
"""
condition_custom_module_id: ID
"""
The date on which the question group was created
"""
created_at: ISO8601DateTime!
"""
Lifecycle history for this question group template, newest first
"""
custom_module_collection_audit_events: [CustomModuleCollectionAuditEvent!]!
"""
The form this question group belongs to
"""
custom_module_form: CustomModuleForm
"""
ID of the form this question group belongs to
"""
custom_module_form_id: ID
"""
The questions within this group
"""
custom_modules: [CustomModule!]
"""
The comparison operator applied to the question's answer
"""
filter_type: FilterTypeEnum
"""
The unique identifier of the question group
"""
id: ID!
"""
Whether this question group template is archived (hidden from the question bank)
"""
is_archived: Boolean!
"""
Display label for the question group
"""
label: String!
"""
ID of the question group template this group was placed from; null when the group is an independent copy
"""
parent_custom_module_collection_id: ID
"""
Paginated forms that currently have a group placed from this template, ordered by name
"""
placed_in_forms(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
"""
Returns the first _n_ elements from the list.
"""
first: Int
"""
Returns the last _n_ elements from the list.
"""
last: Int
): GroupTemplatePlacementPaginationConnection!
"""
The number of forms that currently have a group placed from this template
"""
placed_in_forms_count: Int!
"""
Ordering position within the form
"""
position: Float!
"""
The date on which the question group was last updated
"""
updated_at: ISO8601DateTime!
"""
The value the question's answer is compared against
"""
value_to_filter: String
}