{{ js_integration_head_start() }} {{ head_elements() }} {{ head_css() }} {{ head_js() }} {{ js_integration_head() }} {{ require_attached_css(template_meta.attached_stylesheets, content.enable_layout_stylesheets) }} {{ require_attached_js(template_meta.attached_js) }}

How can I base a question on multiple single-choice questions?

When a specific value, let's call it "Value A" is chosen in Question 1 and either "Value B" or "Value C" is chosen in Question 2, then some text should be displayed.

Stencil description:

  • AND -> & + OR -> | logic

Code example:

{% if section1.question1 == "Value A& (section1.question2 == "Value B" & section2.question1 == "Value C") %} TEXT HERE {% end %}

This stencil code can only be used if the answers are from single-choice questions. If the logic depends on answers to multiple-choice questions, you need to use contains.

An example of this code format can be found below.