You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Forgot Password" feature currently displays an error message indicating "incorrect email format" when the user enters an invalid email format.
suggestions:
Real-Time Validation: Add client-side validation using HTML5 (type="email") or JavaScript regex patterns to check the email format as the user types. This helps users catch and fix errors immediately, reducing submission delays and avoiding unnecessary server-side error messages.
Clear Error Messaging: Update the error message to be more specific, e.g., “The email format is invalid. Ensure it includes ‘@’ and a domain name (e.g., user@example.com).” Additionally, use a placeholder like "name@example.com" in the email field to guide users on the correct format.
Expected behavior
1.As users type in the email field, real-time validation highlights any format issues, prompting immediate correction without needing to submit the form.
If an invalid format is entered, a clear and specific error message appears (e.g., “The email format is invalid. Ensure it includes ‘@’ and a domain name”), and the field shows a helpful placeholder (e.g., "name@example.com") to guide users on the correct input format.
Add ScreenShots
What browsers are you seeing the problem on?
No response
Record
I have read the Contributing Guidelines
I'm a GSSOC'24EXTD contributor
I have starred the repository
The text was updated successfully, but these errors were encountered:
Hi there! Thanks for opening this issue @sania-2912!. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.
Forgot Password shows incorrect email FORMAT
Description
As users type in the email field, real-time validation highlights any
format issues, prompting immediate correction without needing to submit
the form.
If an invalid format is entered, a clear and specific error message
appears (e.g., “The email format is invalid. Ensure it includes ‘@’ and
a domain name”), and the field shows a helpful placeholder (e.g.,
"[name@example.com](mailto:name@example.com)") to guide users on the
correct input format.
- Closes#769
## Type of PR
- [x] (Bug)
## Screenshots / videos (if applicable)
Before:
![Screenshot 2024-10-31
143622](https://github.com/user-attachments/assets/ab1030aa-a9d8-40d0-aa6f-5d1e9c007826)
After:
![Screenshot 2024-10-31
143633](https://github.com/user-attachments/assets/74594069-ae70-4680-9a8e-fd98c12215e5)
![Screenshot 2024-10-31
143647](https://github.com/user-attachments/assets/e68f8885-f97c-4403-9884-bd262b9ef0b2)
## Checklist
<!-- [X] - put a cross/X inside [] to check the box -->
- [X] I have gone through the [contributing
guide](https://github.com/Anjaliavv51/Retro)
- [X] I have updated my branch and synced it with project `main` branch
before making this PR
- [X] I have performed a self-review of my code
- [X] I have tested the changes thoroughly before submitting this pull
request.
- [X] I have provided relevant issue numbers, screenshots, and videos
after making the changes.
- [X] I have commented my code, particularly in hard-to-understand
areas.
Is there an existing issue for this?
Describe the bug
The "Forgot Password" feature currently displays an error message indicating "incorrect email format" when the user enters an invalid email format.
suggestions:
Real-Time Validation: Add client-side validation using HTML5 (type="email") or JavaScript regex patterns to check the email format as the user types. This helps users catch and fix errors immediately, reducing submission delays and avoiding unnecessary server-side error messages.
Clear Error Messaging: Update the error message to be more specific, e.g., “The email format is invalid. Ensure it includes ‘@’ and a domain name (e.g., user@example.com).” Additionally, use a placeholder like "name@example.com" in the email field to guide users on the correct format.
Expected behavior
1.As users type in the email field, real-time validation highlights any format issues, prompting immediate correction without needing to submit the form.
Add ScreenShots
What browsers are you seeing the problem on?
No response
Record
The text was updated successfully, but these errors were encountered: