anuragverma108 / WildGuard

This repository is now officially part of Hacktoberfest 2024!
https://wildguard.netlify.app/
MIT License
284 stars 635 forks source link

🐛[Bug]: "Name" and "phone" field in the Contact Us page -Validation #1551

Open akash70629 opened 3 days ago

akash70629 commented 3 days ago

Bug Summary

The "Name" and "phone" field in the Contact Us section allows users to input symbols and special characters.

Bug Description

The "Name" and "phone" field in the Contact Us section allows users to input symbols and special characters, which may lead to invalid or spam submissions.

Steps to Reproduce

  1. Go to the Contact Us Page.
  2. Click on the name and phone field.
  3. Type numbers and symbols into the Name field and submit.
  4. See there is no Error.

Expected Behavior

The name field should only accept Alphabets and the Phone field should only accept numbers.

Actual Behavior

Currently, it accepts symbols and special characters too.

Screenshots or Logs (Optional)

image image

Severity

Major - impacts significant functionality

Environment

github-actions[bot] commented 3 days ago

Thanks for creating the issue in WildGuard! Before you start working on your PR, please make sure to:

github-actions[bot] commented 3 days ago

Thank you for creating this issue! 🎉 Your issue will soon be reviewed by Project Maintainers. 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 CONTRIBUTING.md for guidelines on contributing to this project.

akash70629 commented 3 days ago

Please add gssoc lebel.