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 validation issue: "Name" field accepts numeric values #53

Closed
4 tasks done
dhruvi2403 opened this issue Jan 7, 2025 · 5 comments · Fixed by #61 or #62
Closed
4 tasks done

BUG:Contact Form validation issue: "Name" field accepts numeric values #53

dhruvi2403 opened this issue Jan 7, 2025 · 5 comments · Fixed by #61 or #62
Assignees

Comments

@dhruvi2403
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

What went down?

The "Name" field in the contact form currently accepts numeric values, which violates standard validation expectations for a name input. A name field should only accept alphabetic characters and optionally allow spaces, hyphens, or apostrophes.

image

Record

  • I agree to follow this project's Contributing.md
  • I'm a SWOC contributor
  • I want to work on this issue
Copy link

github-actions bot commented Jan 7, 2025

Thank you for creating this issue! 🎉 @Ojas-Arora will look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTE.md for guidelines on contributing to this project.

@Ojas-Arora
Copy link
Owner

@dhruvi2403 Do u want to make changes to the contact Page and make it similar to the photo as shown with your required enhancements ?
image

@dhruvi2403
Copy link
Contributor Author

I personally think that the current form has a better UI than the one which you showed.
It just needs some form validation to it so that the user cannot enter gibberish values in the "Name" text field.
But if you want me to change the UI also, then I can try to work on that as well.

@Ojas-Arora
Copy link
Owner

@dhruvi2403 Make the changes in this Contact Page only for the form validation You want to do. No need to change form.

Copy link

github-actions bot commented Jan 8, 2025

Hello @dhruvi2403! 🎉

Your issue #53 - BUG:Contact Form validation issue: "Name" field accepts numeric values has been successfully closed.

We appreciate your valuable contribution and your help in improving the project. If you have any more ideas, questions, or issues, feel free to open a new issue or join the discussion in our community forum.

Stay awesome! 😊

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