16%
{% for block in section.blocks %} {% assign question_counter = forloop.index | minus: 1 %} {% case block.type %} {% when 'introduction' %}

{{ block.settings.title }}

{{ block.settings.text }}
{% when 'question' %} {% when 'email' %} {% when 'thankyou' %} {% endcase %} {% endfor %}
{% schema %} { "name": "Evaluation Section", "settings": [], "blocks": [ { "type": "introduction", "name": "Introduction Block", "settings": [ { "type": "text", "id": "title", "label": "Title", "default": "Your Title Here" }, { "type": "text", "id": "text", "label": "Text", "default": "Your Text Here" }, { "type": "text", "id": "button_text", "label": "Button Text", "default": "Start Quiz" } ] }, { "type": "question", "name": "Question Block", "settings": [ { "type": "text", "id": "question_title", "label": "Question Title", "default": "Your Question Title Here" }, { "type": "text", "id": "question_text", "label": "Question Text", "default": "Your Question Text Here" }, { "type": "text", "id": "answer_1", "label": "Answer 1", "default": "Answer One" }, { "type": "text", "id": "answer_2", "label": "Answer 2", "default": "Answer Two" } ] }, { "type": "email", "name": "Email Block", "settings": [ { "type": "text", "id": "text", "label": "Introduction Text", "default": "Enter your email below." }, { "type": "richtext", "id": "agree_text", "label": "Agree Text" }, { "type": "text", "id": "submit_text", "label": "Submit Button Text", "default": "Submit" } ] }, { "type": "thankyou", "name": "Thank You Block", "settings": [ { "type": "richtext", "id": "thankyou_text", "label": "Thank You Text" }, { "type": "url", "id": "intake_form_url", "label": "Intake Form URL" }, { "type": "text", "id": "continue_text", "label": "Continue Button Text", "default": "Continue" } ] } ], "presets": [ { "name": "Evaluation Form", "category": "Custom" } ] } {% endschema %}