anmode / grabtern-frontend

Connecting the mentors and creating a network
https://grabtern.in/
MIT License
27 stars 53 forks source link

🐞 [BUG] - Contact Form Validation and Email Sending Issue #926

Open chikatlarakesh opened 3 weeks ago

chikatlarakesh commented 3 weeks ago

Description

ADD LABELS: GSSOC EXT 2024 AND HACKTOBERFEST

The Contact form has issues with validation and email sending functionality. The form lacks proper feedback handling, which causes it to behave inconsistently when fields are incomplete or invalid.

Current behaviour

  1. The email validation does not always trigger for invalid email formats.
  2. Form submission occasionally fails with no feedback for the user.
  3. Success messages do not display consistently after submission.

Expected behaviour

  1. Display error messages for each validation failure (e.g., name, email, subject, message).
  2. After a successful form submission, a success message should be displayed consistently.
  3. On submission failure, display an error message to alert the user.

Reproduction steps

Go to the Contact page.
Leave the "Name" field empty or enter an invalid email format.
Click "Send."
Observe the error and success messages' behavior.

Screenshots

No response

Logs

No response

Browsers

Firefox, Chrome, Safari

OS

Windows, Mac

Are you contributing for a program ?

GSSoC2023, Other

Code of Conduct

github-actions[bot] commented 3 weeks ago

Hello @chikatlarakesh! Thank you for raising this issue. Please make sure to follow our Contributing Guidelines. Don't forget to ⭐ our Grabtern-Frontend.

Our review team will carefully assess the issue and reach out to you soon! We appreciate your patience!

chikatlarakesh commented 3 weeks ago

add gssoc ext label