Add custom error message for invalid email format instead of default browser message
Description
Currently, when a user enters an incorrectly formatted Gmail address (or any invalid email), the browser displays its default validation message. This results in inconsistent UX and limited control over the message shown.
Expected Behavior
- When the email format is invalid, the application should show a custom error message (e.g., “Please enter a valid email address”).
- The message should match the app’s UI/UX style.
- Validation should not rely solely on the browser’s built-in message.
Actual Behavior
The browser shows its own default validation message, which cannot be styled or customized.
Suggested Solution
Implement custom email validation using regex validation method. Show a consistent, user-friendly error message when the input does not match the expected email format.
Screenshot
Thank you for raising this issue!
We'll review it as soon as possible. We truly appreciate your contributions! ✨
Meanwhile make sure you've visited the README.md, CONTRIBUTING.md, and CODE_OF_CONDUCT.md before creating a PR for this. Also, please do NOT create a PR until this issue has been assigned to you. 😊
@DYHARDx Could you plzz assign this issue to me..??
@DYHARDx Could you please add the label tag as well..??
🤖 Auto-unassignment Notice
This issue has been automatically unassigned from @shwetap3000 because it was assigned more than 7 days ago (on Thu Nov 20 2025) and no pull request has been opened to address it.
What happens next?
- This issue is now available for anyone to pick up
- If you were working on this and need more time, please comment on this issue and ask to be reassigned
- If you have a draft PR or work in progress, please open a draft PR to maintain your assignment
For future reference:
- Please open a draft PR within 7 days of being assigned to an issue
- This helps keep the project moving and ensures issues don't get stuck
Thank you for your understanding! 🙏
@shwetap3000 are you want to work this isuue?
@DYHARDx , Shall I work on this issue?