pawarspeaks / TechNexus

🚀 Welcome to TechNexus Events - a global tech event hub! Join the Dev Code community's open-source initiative to curate, add, and discover a wide array of tech events worldwide. Contribute now and be a part of this collaborative tech extravaganza!
https://devcode-technexus.vercel.app
23 stars 40 forks source link

Missing Client-Side Validation for Email and Name Fields on Contact Us Section #61

Open TecHAyusH6476 opened 4 hours ago

TecHAyusH6476 commented 4 hours ago

Description: Describe the bug The "Contact Us" section lacks client-side validation for the Email and Name fields. Users can submit the form with invalid or empty data, which could lead to incorrect information being recorded or submitted.

To Reproduce Steps to reproduce the behavior:

The Email field should require a valid email format. The Name field should not be left blank. An error message should appear if these fields are not filled out correctly. Screenshot 2024-10-12 205259

Additional context Implementing client-side validation can improve user experience and prevent incomplete or incorrect submissions.

pawarspeaks commented 3 hours ago

Hey @TecHAyusH6476 Thanks for the new issue! image something like this is already implemented, could you please let me know what new validations can be done...and I'll assign this one to you.

Happy Open Sourcing!🚀

TecHAyusH6476 commented 2 hours ago

@pawarspeaks did we use any regex or just normal email validation? If not I can implement regex implementation

pawarspeaks commented 2 hours ago

@TecHAyusH6476 currently there is No Explicit Regex Validation... you can work on it! assigned to you. Do ⭐ repo and follow https://github.com/Dev-Code-Community to get your PR merged Happy Open Sourcing!🚀