How rules are evaluated
FromUsers evaluates logic in a fixed order so authors can reason about overlapping rules. Understanding this order prevents surprises when display logic, randomization, and branching interact.
Evaluation order
Section titled “Evaluation order”For a participant session, rules generally run in this sequence:
- Variables. Resolve URL parameters, participant sample fields, session/system values, and computed formulas.
- Section display. Decide whether each section is visible.
- Section randomize. Order or sample pages/subsections inside visible sections (when enabled and not mixed).
- Page display. Decide whether each remaining page is visible.
- Qualification. Apply screener / qualification checks that determine whether the participant may continue.
- Block randomize. Shuffle or sample content blocks on the current page.
- Question display. Show or hide individual questions on the page.
- Compare assets. Choose which prototype variant to present for the matched driver value.
- Question branching. After answers, apply skip-to or end-survey rules.
- Section branching. After a section completes, apply section rules and the otherwise path (next, end, or a specific section).
Why this order matters
Section titled “Why this order matters”| If you expect… | Remember… |
|---|---|
| A hidden section never randomizes | Section display runs before section randomization |
| A page never shows its questions | Page display runs before question display |
| Prototype choice follows the group | Compare assets runs after variables and structural visibility |
| Skip rules can jump past later logic | Question/section branching changes the path after the current step |
Preview vs Live
Section titled “Preview vs Live”| Mode | Intent | What to expect |
|---|---|---|
| Preview | Author review | Inspect content, wording, and configured paths. Random assignment may be simplified so you can see what you built. |
| Live | Real participants | Full variable resolution, balanced group assignment, shuffle/pick behavior, and branching as configured. |
Always run at least one Live test take for experiments that depend on randomization groups or compare assets.
Practical debugging
Section titled “Practical debugging”- Confirm variables resolve (URL, sample, formulas).
- Check section visibility, then whether randomization excluded a page.
- Check page visibility and qualification.
- Confirm on-page block order and question display.
- Verify compare asset mapping for the assigned value.
- Trace branching targets and endings last.
Related tools
Section titled “Related tools”Common questions
Why does my question logic seem to run after page logic?
FromUsers evaluates from broader structure to finer detail. Section and page visibility are decided before individual question display rules.
Does preview behave exactly like Live?
Preview prioritizes author review of content and paths. Live applies participant assignment and randomization for real sessions.
When are formulas calculated?
Computed variables resolve during the variables step at the start of evaluation, based on inputs available at that time.