{% extends 'ddm_core/base.html' %} {% block page_title %}Questionnaire Setup{% endblock %} {% block main_heading %}Questionnaire{% endblock %} {% block sub_heading %}

The questionnaire appears after participants complete their data donation. If no questions are defined, participants skip directly to the debriefing page.

Questions are organized into pages. All questions on a page display together, and participants navigate to the next page using a "Next" button (no back navigation between pages). Responses are submitted only when the questionnaire is complete—partial responses are not currently saved.

{% endblock sub_heading %} {% block main_body %}
{% for page, page_questions in pages.items %}
{% with page_number=page|stringformat:"s" n_questions=page_questions.count|stringformat:"s" %} {% with accordion_description="Questions: "|add:n_questions %} {% with content_include_path="ddm_questionnaire/_question_table.html" accordion_id="Page"|add:page_number title="Page "|add:page_number %} {% include "ddm_core/components/accordion_card.html" with questions=page_questions extra_classes="narrow-accordion" accordion_id=accordion_id accordion_title=title is_expanded=True %} {% endwith %} {% endwith %} {% endwith %}
{% endfor %}
{% include "ddm_core/components/info_collapsible.html" with extra_classes="white" element_id="bp-questions-infobox" title="About General Questions and Blueprint-Related Questions" include_path="ddm_questionnaire/text_blocks/text_blueprint_questions.html" body="" %}
{% include "ddm_questionnaire/partials/modal_question_selection.html" %} {% endblock main_body %} {% block pre_footer %}
{% endblock pre_footer %}