BC
Brad CodyAdministrator
Current productShared components and patterns
Reverse spec drafted

Field validation and form feedback

Inline errors, summaries, warnings, server conflicts, success confirmation and focus-to-error behavior.

Observed routeShared componentFuture Spec 16
Current maturityReusable pattern identified; canonical component contract required
Evidence confidencePartially verified
Last reviewedAugust 4, 2026
Visual evidenceDeferred during UI updates

Current-state summary

Field validation and form feedback appears across the current product but is not yet governed as one fully documented reusable component. Required labels are common, but cross-field errors, server conflicts, mapping errors, focus-to-first-error and submission summaries are not one reusable system.

Interface inventory

Anatomy and verified behavior

Verification states separate observed behavior from requirements or assumptions.

ElementCurrent behaviorVerification
Canonical interactionValidate on appropriate blur/change and always on submit; avoid premature errors while typing. Show inline error plus top summary for long forms and move focus to the summary/first invalid field. Distinguish error, warning and informational guidance; server response maps to stable field keys and preserves entered values.Required reusable contract
Data contractValidation results use stable codes, field keys, severity and safe message parameters; do not rely on English text for logic.Required shared storage and API behavior
AccessibilityInvalid fields use aria-invalid and described error text; summaries link to fields and errors are announced after submission.Required before component is approved for reuse
Reuse inventoryall forms, builders, imports, commercial documents, Application review, integrationsKnown current and future consumers
Current inconsistenciesApplication mappings can be wrong without blocking publish. Long modal validation behavior is unclear. Optimistic concurrency conflicts are not represented.Observed or identified correction work

User journeys

Current flows

01

Use Field validation and form feedback

  1. Render from the shared component registry
  2. Load canonical value and configuration
  3. Accept keyboard, pointer or assistive-technology input
  4. Validate and normalize
  5. Persist canonical value with provenance
  6. Render the same meaning in profiles, grids, filters, exports and integrations
Observed result

This is the required cross-product journey; implementation consistency varies today.

State model

Current and expected states

Default

Value can be entered or selected with a visible label.

Focused

Must provide a visible focus indicator without layout shift.

Disabled or read-only

Must distinguish unavailable input from view-only canonical value.

Required or optional

Requirement is communicated in label, schema and validation—not colour alone.

Invalid or warning

Inline message explains the problem and preserves the user’s input where safe.

Loading or saving

Async work prevents duplicate commands and remains announced.

Empty or cleared

Null, empty string, zero and empty collection retain distinct meanings.

Product rules

Non-negotiable boundaries

  • Build once and reuse the same component, schema and formatter in every Workspace experience.
  • Display formatting is separate from canonical storage.
  • Every value has a stable field key, type, validation, privacy classification and version.
  • Client validation improves usability; server validation remains authoritative.
  • Equivalent values render consistently in forms, grids, profiles, filters, exports, notifications and documents.
  • Validate on appropriate blur/change and always on submit; avoid premature errors while typing.
  • Show inline error plus top summary for long forms and move focus to the summary/first invalid field.
  • Distinguish error, warning and informational guidance; server response maps to stable field keys and preserves entered values.
Dependencies
Spec 16 Design System and Reusable ComponentsShared field registryDesign tokensDynamic formsPermissionsLocalization and accessibility testing

Known current limitations · 3 mapped

What is missing, broken or unverified

Future Spec 16 owns closure →
  1. Application mappings can be wrong without blocking publish.
  2. Long modal validation behavior is unclear.
  3. Optimistic concurrency conflicts are not represented.

Future alignment

Required evolution

  • 01Promote this pattern into the approved component library.
  • 02Replace local copies incrementally and retain migration adapters only where required.
  • 03Add automated interaction, validation, accessibility and serialization tests.
  • 04Track reuse across: all forms, builders, imports, commercial documents, Application review, integrations.

Current baseline

Acceptance record

  • The component has one public API and canonical data contract.
  • All required states are documented and tested.
  • Formatting and validation are consistent across every consumer.
  • Keyboard and screen-reader testing passes.
  • Existing inconsistent copies have an owner and migration plan.

Reverse-spec completeness

Documentation coverage

The interface is still changing, so visual evidence and repository tracing remain intentionally incomplete.

Purpose and user outcome

Documented

Roles and access

Documented

Routes and entry points

Documented

Page and component anatomy

Documented

Fields and displayed data

Documented

Primary actions

Documented

Forms and validation

Documented

States and transitions

Documented

Empty, loading and error states

Documented

Responsive behavior

Partial

Accessibility behavior

Partial

Activity and audit events

Partial

Data sources and persistence

Documented

Notifications and automation

Partial

Known defects and limitations

Documented

Reusable component dependencies

Documented

Future-spec conflicts

Partial

Visual and repository evidence

Deferred

Acceptance of current baseline

Documented