Conditions can also be used within a page to introduce two types of conditional cluster:
- clusters which are dynamically hidden/displayed based on answers to questions on the current page, or a combination of questions on the current page and previous pages. The expression used to control dynamic clusters cannot refer to custom functions and must refer to at least one question from the current page. Any control questions that the condition expression refers to must occur at the start of the expression.
- clusters which are hidden/displayed based on the answers to questions on previous pages. In this case, the visibility of the cluster is determined before the current page loads and cannot be changed by answers given the page.
See condition for more details.
A conditional cluster may contain one or more mandatory questions, making these questions conditionally mandatory. For dynamically conditional clusters, the mandatory questions contained will only be validated as such if the cluster is visible when the page is submitted.