BloxAI icon indicating copy to clipboard operation
BloxAI copied to clipboard

Feat: Adding email validation to accept emails of approved domains like .com, .in, etc in the contact form

Open Amruta7203 opened this issue 1 year ago • 2 comments

Describe the feature

Current Functionality:

The existing contact form allows users to submit their email addresses, but it doesn't perform any validation. This can lead to receiving invalid email addresses, hindering communication and potentially impacting data quality.

Proposed Improvement:

I propose implementing email validation in the contact form, with a specific focus on verifying if the email address belongs to a registered domain. This will ensure:

Valid Email Format: Basic validation will check for the correct structure of an email address (e.g., containing "@" and "." symbols). Registered Domain: This feature would go beyond basic validation by attempting to verify if the domain name exists and is properly registered.

Add ScreenShots

The contact form shown below does not display error when entered invalid email id:

image

Record

  • [X] I agree to follow this project's Code of Conduct
  • [X] I'm a GSSOC'24 contributor
  • [X] I want to work on this issue

Amruta7203 avatar May 26 '24 04:05 Amruta7203

@subhadeeproy3902 Request you to assign this to me under GSSOC'24

Amruta7203 avatar May 26 '24 04:05 Amruta7203

@Amruta7203 Sure go ahead... and do read the Contributing.md file

subhadeeproy3902 avatar May 26 '24 04:05 subhadeeproy3902

@subhadeeproy3902 I am getting this error while running the website: image

Pls help me resolve this..

Amruta7203 avatar Jun 16 '24 07:06 Amruta7203

copy paste the env.example in env.local run npm i then npm run dev

subhadeeproy3902 avatar Jun 16 '24 07:06 subhadeeproy3902

Can I get this issue assigned?

AdarshGT33 avatar Jun 17 '24 09:06 AdarshGT33

Hello @Amruta7203! Your issue #138 has been closed. Thank you for your contribution!

github-actions[bot] avatar Jun 18 '24 13:06 github-actions[bot]