pattern-library 2 linked patterns checked

Agriculture Design System: Conditionally revealed form content

Documents conditional reveal guidance for radios, checkboxes, and selects; recommends limiting revealed content to one related set of questions or information, placing it under the initial input, using another page for complete forms or submit actions, and avoiding unrelated revealed content.

Read with a purpose

What this source can teach

Use this source to compare a documented solution with the task and states in your own product.

  1. Start with the original. Open the source and find the guidance or example relevant to your task.
  2. Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
  3. Check the setting. Compare the source's platform, people, and constraints with your own decision.

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Conditional reveal fields Choose conditional reveal fields when one option needs a short, directly related follow-up field in the same local context. Selecting the trigger shows the related field immediately under that trigger. Agriculture Design System guidance supports limiting reveals to directly related questions under the triggering control and avoiding complete revealed forms.
Required field hidden by conditional logic Flag this anti-pattern when a required field can block submit while it is hidden, collapsed, disabled, off-screen, absent from the current route, or disconnected from its trigger. Selecting a trigger that creates a required follow-up reveals that follow-up immediately in logical DOM and visual order. Agriculture Design System supports limiting conditional reveals to related questions and using another page for larger branches.

Comparisons supported by this source

Evidence Role

This source is treated as pattern-library evidence. Its value comes from the specific claims and setting described above.

Publisher: Australian Government Agriculture Design System. Last checked: .

Saved items