Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞Bug: Sign Up page name field validation is missing #342

Open
AVNI-THEEXPLORER opened this issue Jan 3, 2025 · 4 comments
Open

🐞Bug: Sign Up page name field validation is missing #342

AVNI-THEEXPLORER opened this issue Jan 3, 2025 · 4 comments
Assignees
Labels

Comments

@AVNI-THEEXPLORER
Copy link

Description

On the Sign Up page, the name field validation is missing. Currently, the name field accepts numbers and letters.It can create a problem in the backend database.

Steps to Reproduce:

Navigate to the Sign Up page.
In the "Name" field, input invalid data such as:

  1. Numbers (e.g., 12345)
  2. Special characters (e.g., @#$%^&*)
  3. Extremely long strings (e.g., 500+ characters)

Attempt to submit the form.
Observe that the form accepts invalid inputs without any errors or warnings.

Screenshot

image

Expected Behaviour:

The "Name" field should have proper validation to ensure:

  1. Only alphabetic characters (and optionally spaces or hyphens) are allowed.
  2. Input length is reasonable (e.g., between 2 and 50 characters).
  3. Special characters and numeric inputs are restricted.

Actual Behavior:

The "Name" field lacks validation, allowing any input to be submitted without restrictions.

Impact:

  1. May result in improper user data stored in the database.
  2. Could lead to errors in other parts of the application that depend on clean user data.
  3. Reduces user experience and professionalism of the registration process.

Proposed Solution:

Implement front-end validation using HTML5 attributes like pattern or JavaScript.

Environment:

  1. Browser: Chrome
  2. OS: Windows 11
  3. Priority: High
Copy link
Contributor

github-actions bot commented Jan 3, 2025

Thank you for raising this issue! We'll look into it as soon as possible. Please ensure that the issue is not duplicate, and you read CONTRIBUTING.md carefully. Your contributions are highly appreciated! 😊

@AVNI-THEEXPLORER
Copy link
Author

@dhairyagothi please assign me this issue

@dhairyagothi
Copy link
Owner

@dhairyagothi please assign me this issue

Yes sure @AVNI-THEEXPLORER its great seeing my LinkedIn connection contributing on my project thank you for your interest

@shivampatkar
Copy link

Please assign me this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants