algovengers / algovengers/MindMate

Unclear Error Messages on Registration

未關閉
#129 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
29
分支
41
PR 合併指標
30 天內沒有已合併 PR

描述

The 'register' page currently displays generic error messages when users enter an email and password that do not meet the required criteria. This lack of specificity makes it difficult for users to understand what they need to correct, leading to frustration and potential abandonment of the registration process.

![Screenshot 2024-05-25 095622](https://github.com/algovengers/MindMate/assets/123234572/66fae2f9-b561-4b8c-b700-2c478e37b2ad)

Suggested Solution:
Implement specific error messages that inform users exactly what needs to be corrected. For example:

Email Format: Display an error message such as "Please enter a valid email address" if the email format is incorrect.
Password Requirements: Provide detailed messages such as "Password must be at least 8 characters long and include a mix of letters, numbers, and special characters."
Real-Time Validation: Implement real-time validation so that users receive immediate feedback as they type, reducing the number of errors upon form submission.
Field-Specific Messages: Ensure that error messages are displayed next to the relevant input fields to make it clear what needs to be corrected.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。