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] Contact Form Accepts Alphabetic Characters in Phone Number Field #312

Open
Lokesh-Bijarniya opened this issue Nov 8, 2024 · 0 comments · May be fixed by #313
Open

[BUG] Contact Form Accepts Alphabetic Characters in Phone Number Field #312

Lokesh-Bijarniya opened this issue Nov 8, 2024 · 0 comments · May be fixed by #313
Labels
bug Something isn't working

Comments

@Lokesh-Bijarniya
Copy link

Describe the bug
The contact form accepts alphabetic characters in the phone number field, allowing submissions with incorrect input. The form should require only numeric input for the phone number.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the contact form on the website.
  2. Enter alphabetic characters in the phone number field.
  3. Submit the form.
  4. The form submits successfully, even with invalid phone number input.

Expected behavior
The phone number field should only accept numeric input. If the user enters any alphabetic characters, the form should display an error message and prevent submission until a valid phone number is provided.

*Screenrecording
https://github.com/user-attachments/assets/4a32b24c-cf20-4ec5-b17c-d47858ef3c7a

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
The contact form should validate the phone number input to ensure that users provide a valid phone number. Implementing this validation will improve user experience and reduce invalid form submissions.

@Lokesh-Bijarniya Lokesh-Bijarniya added the bug Something isn't working label Nov 8, 2024
@gaganveerbawa gaganveerbawa linked a pull request Nov 9, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant