Skip to content

VariantNode

A structural switch: at most one of branches (first match wins, in order) or fallback is what a respondent actually sees, decided live in the browser as they answer — see resolveVariant, which both this SDK’s EbitexForm and ebitex’s own hosted form page use so the decision can’t drift between them. fallback is always an array, never null: an empty array means the Variant shows nothing when no branch matches.

branches: VariantBranch[]


fallback: FormNode[]


nodeType: "Variant"