Skip to content

🐛 Bug Report: Add proper validation and error handling for contact form inputs #259

@YHQZ1

Description

@YHQZ1

📜 Description

The contact form currently does not implement proper input validation or user feedback handling. Users can submit empty or invalid inputs without clear validation messages, which leads to poor UX and unreliable form behavior.

Suggested improvements:

  • Add validation for required fields
  • Validate email format before submission
  • Prevent whitespace-only inputs
  • Add loading, success, and error states
  • Improve overall form submission feedback and reliability

What browsers are you seeing the problem on?

Chrome

📃 Relevant Screenshots (Links)

Image

As shown above, the email was successfully sent even though the contact form was submitted without a subject, message body, or valid contact details.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions