Skip to Content
DocumentationConceptsEditorHow cascading form fields work

A cascading field is a dropdown with levels. Pick a value at level 1, and the options at level 2 are filtered by that choice. Pick level 2, and level 3 narrows again. The classic example is Country → State → City, but the same shape covers Category → Subcategory → SKU, Department → Team → Person, Make → Model → Trim, and any other ragged hierarchy you’d otherwise build out of three separate selects.

The shape

Level 1Country
→pick USA
Level 2State (US only)
→pick California
Level 3City (CA only)

Each level is a dropdown. The options a level shows are parameterized by the previous level’s selection. Change the Level 1 pick and the levels below it reset and repopulate from the new context.

The bound value is the whole path — e.g. ["USA", "California", "San Francisco"] — not just the final leaf. That means a submission always carries enough context to reconstruct what was picked.

Where the options come from

A cascading field reads its options from one of these sources:

  • Options you enter — the option table is authored with the field and lives in the template. Good for hierarchies that don’t change often: department structure, product variants, a jurisdiction list you control.
  • A JSON file at a URL — fetched when the form opens. Good when another system already publishes the list.
  • A shared dataset — a list stored in MakeBox that several templates can use, and that can stay in sync with a connection on a schedule. The form looks up each level’s options as the person picks, so even very large lists stay fast.
  • A built-in list — for example, a ready-made address hierarchy.

The pattern is the same either way. Each level asks “given the previous levels’ picks, what options are available?” If only one option remains for the next level, it’s filled in automatically.

When to reach for a cascade (and when not to)

Cascade is the right shape when the options at one level are only meaningful in the context of another level’s pick. Mixing them into a single flat list would either overwhelm the picker (every city in every country of every state) or produce nonsensical combinations (pick a city, then a state the city isn’t in).

Reach for a cascade when:

  • The relationship is strictly hierarchical — each child belongs to exactly one parent.
  • The child count would be unreasonable at the top level (hundreds-plus options).
  • A wrong combination is catastrophic enough that the UI should enforce the pairing, not validate it after-the-fact.

Don’t reach for a cascade when:

  • The second field just needs to appear or disappear based on the first. Wrap the second field in a conditional block instead — a different mechanism with a different data shape.
  • The options are independent and both are freely chosen. Two separate selects; no narrowing.
  • The hierarchy is only two levels and the child list is small. Nested radio buttons or a grouped select may read more directly.

See How conditional logic works for how conditional blocks differ from cascades.

What the submission looks like

When the form is submitted, a cascading field contributes one variable carrying the full path. If the schema field is shipping_location, the submission has:

{ "shipping_location": ["USA", "California", "San Francisco"] }

Downstream steps — a pipeline, the document rendered from the submission — receive the whole array, so every level’s pick is available. See Form field types → Cascading select for the full value-shape reference.

See also

Last updated on