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 摘要。