Skip to content

Add Form Validation for Name, Email, and Password on Sign Up Page#255

Open
Shrrutii29 wants to merge 1 commit intoTanmayKalra09:mainfrom
Shrrutii29:fix/pass-validation
Open

Add Form Validation for Name, Email, and Password on Sign Up Page#255
Shrrutii29 wants to merge 1 commit intoTanmayKalra09:mainfrom
Shrrutii29:fix/pass-validation

Conversation

@Shrrutii29
Copy link

🚀 Pull Request

📋 Description

Added client-side validation for the Sign Up form to improve security and user experience.
Name: Required, only letters and spaces allowed.
Email: Must be in a valid format (contains @ and a domain).
Password: Minimum 8 characters, including uppercase, lowercase, number, and special character.
Confirm Password: Must match the password.

Fixes #221

🔍 Type of Change

  • Bug fix 🐞
  • New feature ✨
  • Documentation update 📝
  • Refactoring or code improvement ♻️
  • Other (please describe):

🙋 Your Details

🧪 How Has This Been Tested?

Manually tested by entering invalid names, emails, and passwords to verify error messages appear.
Confirmed form submission is blocked when validation fails.
Verified successful navigation to /dashboard when all fields are valid.

📸 Screenshots (if applicable)

Before After

✅ Checklist

  • I have read the contributing guidelines.
  • I have followed the code style and linting rules.
  • I have added tests or explained why not.
  • I have updated documentation (if needed).
  • My changes do not introduce any known security issues or vulnerabilities.

@vercel
Copy link

vercel bot commented Aug 18, 2025

@Shrrutii29 is attempting to deploy a commit to the Tanmay Kalra's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Shrrutii29
Copy link
Author

@TanmayKalra09 checkout this pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Implement Strong Password Validation on Signup/Login

1 participant