DEV

Type.

DisplayCondition

Recursive show/hide predicate for a question. A node is either a composite (exactly one of allOf / anyOf / not) or a leaf (questionCode + operator, with values when the operator compares values).

Fields

Composite: every nested condition must evaluate true.
Composite: at least one nested condition must evaluate true.
Composite: negates the nested condition.
Leaf: how to compare the referenced answer against values.

questionCode

String

Leaf: stable code of the question whose answer is inspected.

values

[String!]

Leaf: option/literal values to compare against. Omitted for ANSWERED / NOT_ANSWERED.
Book a demo

Was this page helpful?