Section Configuration
Contains the configuration of a section.
The configuration of a Section is only part of the Questionnaire Configuration.
See also
configuration.configuration.QuestionnaireSection
Parent element: |
|
Child element: |
Format
The basic format of the configuration is as follows:
{
# The keyword of the section.
"keyword": "SECTION_KEYWORD",
# (optional)
"view_options": {
# Default: "default"
"template": "TEMPLATE_NAME",
# Default: false
"media_gallery": true
},
# A list of categories.
"categories": [
{
# ...
}
]
}
See also
For more information on the configuration of its child elements, please refer to their respective documentation:
Also refer to the Example of a Questionnaire configuration.
keyword
The keyword of the section.
view_options
(Optional). An optional object containing configuration options for the view representation of the section.
template: An optional template name. Must be a valid file name with.htmlending in foldertemplates/details/section/.
media_gallery: An optional boolean indicating whether to include a media gallery at the top of the section or not. The gallery contains all images attached to the questionnaire.
categories
A list of Category Configuration.