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.
What this source can teach
Use this source to compare a documented solution with the task and states in your own product.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- 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
- Conditional reveal fields vs dependent fields vs radio group vs single-question page
Agriculture Design System guidance limits conditional reveals to directly related questions or information, placed under the triggering input, and warns against revealing complete forms.
- Required field hidden by conditional logic vs conditional reveal fields vs dependent fields vs error summary vs single-page form vs review before submit
Agriculture Design System supports direct related reveals and escalation to pages for larger branches.
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: .