ShopNex icon indicating copy to clipboard operation
ShopNex copied to clipboard

Email Validation Needed for Subscription Form on Home Page

Open PranavKeshav24 opened this issue 9 months ago • 2 comments

Issue Description

The ‘Subscribe to get exclusive offers’ email form on the home page currently does not validate the email addresses entered by users. This could lead to invalid email addresses being submitted.

Steps to Reproduce

  1. Go to the website.
  2. Navigate to the home page.
  3. Find the ‘Subscribe to get exclusive offers’ email form.
  4. Enter an invalid email address and submit the form.
  5. Notice that the form accepts the invalid email address.

Expected Behavior

The form should validate the email addresses entered by users. If a user enters an invalid email address and tries to submit the form, an error message should be displayed, and the form should not be submitted.

Actual Behavior

The form accepts any input, even if it’s not a valid email address. There is no error message displayed when an invalid email address is entered.

Screenshots

image

Please assign me this issue. I am a contributor for GSSoC’ 24. I would love to work on this issue.

PranavKeshav24 avatar May 16 '24 16:05 PranavKeshav24