-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Description:
Currently, the signup form’s phone number input field allows users to enter alphabetic characters (e.g., "abc123"). This can lead to invalid phone numbers being stored in the database and cause issues during user communication or appointment confirmations.
Steps to Reproduce:
Navigate to the signup page.
In the phone number field, enter alphabetic characters (e.g., "abcd" or "123abc").
Observe that the form accepts the input without validation errors.
Expected Behavior:
The phone number field should only accept digits.
Non-numeric input should either be blocked at the input level or show a validation error message (e.g., "Please enter a valid phone number") when submitting the form.
Proposed Fix:
Add input validation to ensure only digits are allowed.
Provide user-friendly error messages for invalid input.
Additional Notes:
This validation will prevent incorrect data entry and improve the platform’s reliability for communication.
Once this is resolved, we can further enhance it by adding international phone code support (separate issue).