Back to compare picker

Single-question page vs Text input vs Textarea vs Error summary

Use a single-question page to structure one decision or answer per screen, text input or textarea for the field itself, and error summary for recovery after submission errors.

Learn the decision

Match the interaction to the person's task

Use a single-question page to structure one decision or answer per screen, text input or textarea for the field itself, and error summary for recovery after submission errors.

Single-question page

Use it when: A sequential service flow needs reliable answers before deciding the next page.

Make this state clear: Initial unanswered state with question heading, optional explanation, answer control, Back link, and Continue action.

Observe the result: A user chooses Yes, sees a follow-up detail field on the same question page, goes Back, returns, and the answer is still selected.

Study the full pattern →

Text input

Use it when: The answer is short and user-authored.

Make this state clear: Empty untouched state with persistent label and optional hint.

Observe the result: A user leaves the required field blank, sees an error only after submit, returns to the same field, and their later typed value clears the error.

Study the full pattern →

Textarea

Use it when: Users need to write sentences, paragraphs, comments, explanations, notes, or descriptions.

Make this state clear: Empty untouched state with visible label and optional hint.

Observe the result: A user writes two paragraphs, sees remaining characters update, submits, and the exact line breaks and wording are preserved.

Study the full pattern →

Error summary

Use it when: Form submission can produce one or more errors.

Make this state clear: Failed-submit state with summary visible near the form heading.

Observe the result: After failed submit, focus or reading order makes the summary discoverable before users scan the form.

Study the full pattern →

Practice the judgment: Imagine this situation: A simple standalone question is wrapped in wizard navigation that suggests unnecessary progress and future commitments. Write the person's goal, choose one of these patterns, and show the state that helps the person continue. Use the decision rules and source trail below to explain your choice.

Review the underlying principle →

Decision dimensions

Dimension Single-question pageText inputTextareaError summary
UI or UX UI + UX - Focused form page for one answer or decisionUI + UX - Single-line freeform data-entry controlUI + UX - Multi-line freeform writing fieldUI + UX - Form recovery summary
UI guidance 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.Render a persistent label, appropriately sized single-line input, optional hint, visible focus state, and nearby error text that is programmatically associated with the field.Render a persistent label, enough visible rows for the expected answer, optional hint, readable multiline text, visible focus state, and nearby error or count text associated with the textarea.Render a top-of-form summary block with heading, linked error list, and matching field-level error messages.
UX guidance 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.Let users edit normally, validate after interaction or attempted submit, preserve their typed value after errors, and explain exactly how to fix invalid or missing text.Use textarea when users need to write or paste sentences, paragraphs, explanations, notes, or comments that may wrap across lines.Move users from the summary to the exact field, group, or first invalid control that needs correction.
Good UI A date question uses three related fields on the same page because day, month, and year answer one question.A reference-name field has a visible label, hint, medium width, focus ring, and error message beneath the hint when submitted empty.A more-detail field has a visible question, sensitive-data hint, five visible rows, wrapping text, remaining-character count, and an error directly above the textarea when needed.Top-of-form summary with a clear heading, linked error list, and matching inline field messages.
Bad UI One page asks for name, address, evidence status, and payment method under a vague Details heading.The only instruction is placeholder text that disappears when the user starts typing.A paragraph question is squeezed into a single-line input that hides most of the answer.Summary and field messages visually disconnected or contradictory.
Good UX A user chooses Yes, sees a follow-up detail field on the same question page, goes Back, returns, and the answer is still selected.A user leaves the required field blank, sees an error only after submit, returns to the same field, and their later typed value clears the error.A user writes two paragraphs, sees remaining characters update, submits, and the exact line breaks and wording are preserved.After failed submit, focus or reading order makes the summary discoverable before users scan the form.
Bad UX A user goes Back to check the previous step and the question page clears the answer they already gave.Validation fires on the first focus event and blocks typing before the user has had a chance to answer.A user writes a long explanation, hits submit, and the product clears the entire draft after a length error.Only showing errors below the fold.
Best fit A sequential service flow needs reliable answers before deciding the next page.The answer is short and user-authored.Users need to write sentences, paragraphs, comments, explanations, notes, or descriptions.Form submission can produce one or more errors.
Avoid when Users need to compare or edit several fields together before submitting.The answer is a paragraph, comment, address block, or explanation requiring multiple lines.The answer is a short one-line value.The message is a system failure, permission problem, or outage rather than a validation issue.
Required state Initial unanswered state with question heading, optional explanation, answer control, Back link, and Continue action.Empty untouched state with persistent label and optional hint.Empty untouched state with visible label and optional hint.Failed-submit state with summary visible near the form heading.
Accessibility burden Use a single visible h1 that states the question users are answering.Associate every text input with a visible label or equivalent accessible name that matches the visible question.Associate the textarea with a visible label that states the writing prompt.Use a heading and alert behavior that makes the summary discoverable.
Common misuse Putting several unrelated questions on one page and still calling it one thing per page.Using placeholder text as the only label or instruction.Using a single-line input for paragraph answers.Replacing field-level messages with only a top-level summary.

Single-question page

UI or UX
UI + UX - Focused form page for one answer or decision
UI guidance
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 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 date question uses three related fields on the same page because day, month, and year answer one question.
Bad UI
One page asks for name, address, evidence status, and payment method under a vague Details heading.
Good UX
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 goes Back to check the previous step and the question page clears the answer they already gave.
Best fit
A sequential service flow needs reliable answers before deciding the next page.
Avoid when
Users need to compare or edit several fields together before submitting.
Required state
Initial unanswered state with question heading, optional explanation, answer control, Back link, and Continue action.
Accessibility burden
Use a single visible h1 that states the question users are answering.
Common misuse
Putting several unrelated questions on one page and still calling it one thing per page.

Text input

UI or UX
UI + UX - Single-line freeform data-entry control
UI guidance
Render a persistent label, appropriately sized single-line input, optional hint, visible focus state, and nearby error text that is programmatically associated with the field.
UX guidance
Let users edit normally, validate after interaction or attempted submit, preserve their typed value after errors, and explain exactly how to fix invalid or missing text.
Good UI
A reference-name field has a visible label, hint, medium width, focus ring, and error message beneath the hint when submitted empty.
Bad UI
The only instruction is placeholder text that disappears when the user starts typing.
Good UX
A user leaves the required field blank, sees an error only after submit, returns to the same field, and their later typed value clears the error.
Bad UX
Validation fires on the first focus event and blocks typing before the user has had a chance to answer.
Best fit
The answer is short and user-authored.
Avoid when
The answer is a paragraph, comment, address block, or explanation requiring multiple lines.
Required state
Empty untouched state with persistent label and optional hint.
Accessibility burden
Associate every text input with a visible label or equivalent accessible name that matches the visible question.
Common misuse
Using placeholder text as the only label or instruction.

Textarea

UI or UX
UI + UX - Multi-line freeform writing field
UI guidance
Render a persistent label, enough visible rows for the expected answer, optional hint, readable multiline text, visible focus state, and nearby error or count text associated with the textarea.
UX guidance
Use textarea when users need to write or paste sentences, paragraphs, explanations, notes, or comments that may wrap across lines.
Good UI
A more-detail field has a visible question, sensitive-data hint, five visible rows, wrapping text, remaining-character count, and an error directly above the textarea when needed.
Bad UI
A paragraph question is squeezed into a single-line input that hides most of the answer.
Good UX
A user writes two paragraphs, sees remaining characters update, submits, and the exact line breaks and wording are preserved.
Bad UX
A user writes a long explanation, hits submit, and the product clears the entire draft after a length error.
Best fit
Users need to write sentences, paragraphs, comments, explanations, notes, or descriptions.
Avoid when
The answer is a short one-line value.
Required state
Empty untouched state with visible label and optional hint.
Accessibility burden
Associate the textarea with a visible label that states the writing prompt.
Common misuse
Using a single-line input for paragraph answers.

Error summary

UI or UX
UI + UX - Form recovery summary
UI guidance
Render a top-of-form summary block with heading, linked error list, and matching field-level error messages.
UX guidance
Move users from the summary to the exact field, group, or first invalid control that needs correction.
Good UI
Top-of-form summary with a clear heading, linked error list, and matching inline field messages.
Bad UI
Summary and field messages visually disconnected or contradictory.
Good UX
After failed submit, focus or reading order makes the summary discoverable before users scan the form.
Bad UX
Only showing errors below the fold.
Best fit
Form submission can produce one or more errors.
Avoid when
The message is a system failure, permission problem, or outage rather than a validation issue.
Required state
Failed-submit state with summary visible near the form heading.
Accessibility burden
Use a heading and alert behavior that makes the summary discoverable.
Common misuse
Replacing field-level messages with only a top-level summary.
Decision rules
  • Prefer a single-question page when one answer or decision deserves a focused screen with heading, hint, answer control, validation, Continue, and Back behavior.
  • Use text input within a single-question page when the answer is short, freeform, and fits on one line.
  • Use textarea within a single-question page when the same focused page asks for a paragraph, explanation, comment, or other multi-line answer.
  • Use an error summary when a submitted question page has one or more errors that need page-level announcement and links back to the invalid control.
  • Do not call every text field a single-question page; the pattern is the page structure, route, heading, progress position, and navigation contract around the answer.
  • Do not split tightly related fields onto separate pages when they answer one conceptual question, such as a date with day, month, and year fields.
  • Prefer a single-page form when users benefit from scanning and editing a short set of low-risk fields together before submitting.
  • Prefer a multi-step form when the journey has sections or tasks, and use single-question pages as individual steps inside that broader flow.
  • Prefer a wizard when the sequence is highly guided, stateful, or branching with strict next-step dependency; do not use wizard chrome for a simple isolated question.
  • Keep Back and Continue behavior predictable: returning to the question restores the answer, while Continue validates only this page's question before moving on.
Inspect live examples
Failure modes
  • A page asks several unrelated questions, so the heading does not tell users what answer is expected.
  • A single text input is mistaken for the pattern while the page has no focused heading, hint, Back, Continue, or recovery state.
  • A simple standalone question is wrapped in wizard navigation that suggests unnecessary progress and future commitments.
  • A question page loses the saved answer after Back, validation, or route changes.
  • Related controls that belong to one answer are split across pages, forcing users to remember context.
  • A submitted error appears only beside the control without any page-level recovery when focus lands at the top.

Saved items