{{ js_integration_head_start() }} {{ head_elements() }} {{ head_css() }} {{ head_js() }} {{ js_integration_head() }} {{ include_default_custom_css(content.include_default_custom_css, template_meta.include_default_custom_css, domain_settings.include_default_custom_css) }} {{ include_attached_css(content_group.attached_stylesheets or domain_settings.attached_stylesheets, content.enable_domain_stylesheets, template_meta.enable_domain_stylesheets, theme_meta.enable_domain_stylesheets, domain_settings.enable_domain_stylesheets) }} {{ include_attached_css(template_meta.attached_stylesheets, content.enable_layout_stylesheets) }} {{ include_attached_css(content.attached_stylesheets) }} {{ require_attached_js(template_meta.attached_js) }}
Skip to content
English
  • There are no suggestions because the search field is empty.

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.