| UI or UX | UI + UX - Trigger-owned follow-up form field | UI + UX - Controlling and dependent form fields | UI + UX - Single-choice form control | UI + UX - Focused form page for one answer or decision |
| UI guidance | Place the revealed field directly under the radio, checkbox, or select option that triggers it, visually nested enough to show ownership while keeping the label and error text fully visible. | Place the controlling field before the dependent field, label both clearly, and explain the dependency in helper text such as Choose a category first to see valid subcategories. | Render a fieldset/legend with visible native radio options, selected state, focus state, optional hints, and group-level validation. | Render one clear question as the page heading, optional explanatory text before the answer, one answer area, a primary Continue action, and a Back link or equivalent return path. |
| UX guidance | Use conditional reveal fields when a short follow-up answer is only relevant for users who choose a specific option and should remain in the same decision context. | Use dependent fields to prevent impossible combinations and guide users through valid answer pairs without forcing them to learn backend data rules. | Help users compare the available options and choose exactly one without opening an extra control. | Use a single-question page when users need to focus on one decision, understand one piece of information, or answer one conceptual question before moving on. |
| Good UI | A Contact me by email checkbox reveals an Email address field immediately below that checkbox and hides it when Email is unchecked. | An incident form asks Category first, then Subcategory shows only options for that category and says why it was cleared after Category changed. | Visible native radio options with a clear legend, selected state, focus state, and helper text. | A page heading asks Do you have evidence to upload?, explanatory text sits above a yes/no radio group, Continue follows the answer, and Back returns to the previous service step. |
| Bad UI | A hidden required email field blocks submit after Email was unchecked, but no visible field explains the error. | A Subcategory dropdown appears disabled at page load with no explanation of which Category unlocks it. | Custom circles that do not show focus or selected state clearly. | One page asks for name, address, evidence status, and payment method under a vague Details heading. |
| Good UX | A user selects Phone, sees the Phone number field appear under Phone, enters the number, then unchecks Phone and sees the number excluded from submission. | A user chooses Hardware, selects Laptop, switches Category to Network, sees Laptop cleared, and chooses VPN from the new valid list before submitting. | Exactly one option is selected at a time and labels are clickable. | A user chooses Yes, sees a follow-up detail field on the same question page, goes Back, returns, and the answer is still selected. |
| Bad UX | A user changes from Email to No contact and the hidden email address still gets sent. | A user submits a record with Category Facilities and Subcategory VPN because the stale dependent value was hidden but not cleared. | Using radios for choices where multiple selections are allowed. | A user answers three unrelated questions on one screen and submits, but the error only says fix details without naming the question. |
| Best fit | A selected radio, checkbox, or select option needs one short related follow-up field. | A downstream field's valid values or requirement depend on a previous answer. | Users must choose exactly one option. | One answer or decision should be read and completed without competing form questions. |
| Avoid when | The revealed content is a complete form, separate workflow, or separate submit action. | The choices are independent and users need to compare them together. | Users can choose multiple options. | Users need to compare or edit several fields together before submitting. |
| Required state | Initial state with trigger options visible and no conditional field shown. | No controlling answer selected, with dependent field unavailable or empty and prerequisite helper text. | No selection state for required unanswered groups. | Initial unanswered state with question heading, optional explanation, answer control, Back link, and Continue action. |
| Accessibility burden | Keep the revealed field immediately after the triggering control in DOM order so keyboard and screen reader users encounter it naturally. | Keep controlling and dependent fields in logical DOM order and use labels, hints, and descriptions that name the relationship. | Use a programmatic group label through fieldset/legend or an accessible radiogroup name. | Use a single visible h1 that states the question users are answering. |
| Common misuse | Hiding a required field and still validating it after its trigger is unselected. | Leaving a stale dependent value selected after the controlling field changes. | Using radios for independent choices where several answers can be true. | Putting several unrelated questions on one page and still calling it one thing per page. |