Form Logic Overview

Form logic lets you make your form respond to what people enter. Show or hide fields, calculate scores, repeat sections, route respondents to different pages, and more — all without leaving the editor.

Logic blocks are invisible to respondents. They live right in your form document and read top to bottom, just like the rest of your content.

Logic blocks

BlockWhat it does
ConditionMake anything inside it depend on a rule
New variableDefine a named value or formula
Change variableUpdate an existing variable’s value
RepeatDuplicate a group of blocks N times
Change fieldConditionally change field settings like required
Go to pageJump to a specific page on Next click
Open websiteRedirect respondent to an external URL

You can also embed calculations directly in text to show computed values to respondents.

The @ reference

The @ symbol is how you reference fields and variables throughout your form. Type @ anywhere to open an autocomplete showing everything available — fields, variables, and hidden fields above the current position. See @ References for details.

Testing logic

The form preview runs all logic — conditions, variables, calculations, repeats, and page routing all work just like the published form. Redirects aren’t performed during preview; instead, a notification shows the URL with the option to open it.

Getting started

The most common starting point is a condition — show a follow-up question only when a specific answer is selected, or make a page redirect depend on a choice. From there, you can layer in variables for scoring, repeats for multi-entry sections, and page routing for branching flows.