Decision guide — where should this live?
Branch (fast path)
On a choice question, open Branch from the field chrome workflow icon (not by selecting the field alone). For each option:- Show follow-up — pick field(s) to reveal (complementary hide is compiled automatically).
- Go to page — jump destination.
- Otherwise — default path when no option row matched (continue to next page, or jump elsewhere).
Rules · Flow · Simulator
Open Workflow from the Studio center top bar (or ⌘/Ctrl+Shift+L). Inside the hub:
Flow health sits on the right of the Workflow header (conflict count + tooltip). Critical issues — jump cycles, incomplete jump targets, unreachable non-terminals, no reachable terminal — block Publish. Warnings (unreachable terminals that Fill cannot reach, dual-write calculate/set_value, …) require an explicit acknowledge before Publish continues. Pages reached only by linear Next from a non-terminal page (typical quiz spine) are normal and do not warn on Publish. The Flow map may still outline pages without an inbound jump for editing clarity — that outline alone is not a publish gate.
Full walkthrough: The Logic Board.
Anatomy of a rule (When → Then)
When (conditions)
- Pick a source field (what the respondent answered).
- Pick an operator (equals, contains, is empty, equals set, …).
- Pick a value — type a literal, use a choice chip, or pick another input field (live compare).
- Combine clauses with All (AND) or Any (OR). Nest groups for
(A AND B) OR C.
Then (actions)
Stack one or more actions: Show / Hide, Require / Optional, Disable / Enable, Set / Clear value, Jump to page, Calculate, Hide submit.First rule in Studio (5 minutes)
1
Add the fields you will branch on
Example: a Multiple choice “Plan” with Free / Pro, plus a Short text “VAT number” that should appear only for Pro.
2
Open Branch on Plan
Select Plan → set Branch for Pro: Show follow-up → VAT number. Optionally require VAT from Rules if you need mandatory follow-up.
3
Or build advanced When → Then
Hover Plan → Add condition, or open Logic → Rules, and set When Plan equals
Pro → Then Show + Require VAT.4
Preview / Simulator
Use Simulator or Preview. Choose Free → VAT stays hidden. Choose Pro → VAT appears. Change back to Free → VAT hides and its answer is cleared.
Evaluation order (who wins)
On every answer change, fill recomputes on the server (Livewire):- Rules in evaluation order (form-level and field-anchored), top → bottom
- Calculated Always → Calculate rules in canvas order
- Hidden fields forced not required
- Hidden answers cleared so stale data never submits
Path validation & terminal pages
Multi-page forms track the visited path. Submit validates required fields on pages the respondent actually reached — not every page in the form. Mark terminal pages (submit steps) so Map / flow health know where paths should end. Critical health issues block Publish until fixed. Warnings (unreachable terminal pages Fill cannot reach — for example a Fail page after a terminal Pass with no jump to Fail — plus calculate / set-value dual-writes) appear in the Logic health strip. They do not hard-block Publish by themselves, but Studio requires an explicit acknowledge (confirm) before Publish continues when warnings are present. Criticals must be fixed first. Linear multi-step pages after a non-terminal page do not trigger a Publish confirm.Cascade scrub (delete safety)
When you delete a field, page, or choice option, Studio automatically cleans logic that referenced it (When clauses, Then targets, jump page ids). You get a success toast with how many references were scrubbed (for example “Cleaned 3 logic reference(s) after the change.”). If nothing referenced the deleted item, Studio stays quiet — no orphan jumps left behind.Blank answers (the #1 source of “my rule never fires”)
Is empty and Is not empty are the only operators meant for unanswered fields. Everything else assumes there is something to compare.
Compare to another answer
In the Value control, type a fixed value or pick an input field. The clause compares the source field to whatever the respondent typed in that other field (live). If the referenced field is blank, operators that need a value fail-closed (clause false).Calculated vs Calculate action
Tokens use
{blockId} — pick fields from Value / Formula inserter. Blank number tokens make the whole numeric result empty. Details: Calculated fields · Calculate action.
Troubleshooting checklist
Rule never fires
Rule never fires
Check: Is the source field answered? Wrong operator for blanks? Wrong page (later-page answers are empty early)? Rule disabled? Operator not allowed for that field type?
Show and Hide fight
Show and Hide fight
Open Rules diagnostics / conflict chips. Reorder rules or narrow When so only one path matches. Later matching rule wins.
Calculate shows blank
Calculate shows blank
A token is blank or non-numeric; wrong block id; result type is text but you expected math; division by zero.
Jump does nothing
Jump does nothing
Target page deleted (should scrub automatically); When not matching yet; another later jump overrides. With auto-jump on, any matching Jump advances the page as soon as answers match.
Publish blocked
Publish blocked
Fix flow health criticals on Map / Rules (cycles, incomplete jumps, no reachable terminal).