Skip to content

Form Validation Error Standardization #77

@RUKAYAT-CODER

Description

@RUKAYAT-CODER

📌 Overview

Create a unified system for displaying validation errors across all forms.

🧠 Background

Form error handling is inconsistent and repeated across pages.

📐 Specifications

  • Reusable <FormError /> component
  • Support client & backend validation errors
  • Scroll to first error automatically

🛠 Tasks

  • Build reusable error component
  • Integrate into:
    • auth forms
    • post creation
    • profile edit
  • Map backend validation format

📂 Impacted Files

  • components/forms/FormError.tsx
  • All form components

🏷 Labels

frontend forms UX

🤝 Contribution Guidelines

  • Ensure accessibility (aria-live)
  • Mobile responsive

✅ Acceptance Criteria

  • All forms use the same error component
  • Backend validation errors display correctly

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions