harshit1142 / e-commerce

https://e-commerce-phi-plum-22.vercel.app/
MIT License
14 stars 34 forks source link

BUG: Signup-Form Validation #72

Closed harshbhar0629 closed 1 month ago

harshbhar0629 commented 1 month ago

Now There is no validation of signup form it also not check the current pass is equal or not to re-enter password and also not having the regex validation.

For example, regex validation can be used to: Verify if a phone number is in the correct format (e.g., (123) 456-7890 or 123-456-7890) Check if an email address follows the typical structure (e.g., example@domain.com) Ensure a password meets complexity requirements (e.g., at least one uppercase letter, one number, and one special character)

What Happens in Regex Check: The regex will validate that an input string: Starts with one or more word characters, dots, or hyphens. Has exactly one @ symbol. Followed by one or more letters, digits, dots, or hyphens. Ends with a dot followed by at least two letters for the top-level domain.

@harshit1142 Please assign to me this issue under hacktoberfest-accepted and gssoc-ext:)

harshbhar0629 commented 1 month ago

Please also mark gssoc-ext label