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 Us Page Accepts Invalid and Incorrect Phone Numbers #116

Closed
3 tasks done
PranavN0509 opened this issue Jun 3, 2024 · 2 comments
Closed
3 tasks done

Comments

@PranavN0509
Copy link

Describe the feature

The "Contact Us" page on the website currently does not validate phone numbers properly. Specifically, it allows any input in the phone number field, regardless of format or length. This can lead to invalid or incomplete phone numbers being submitted, which could hinder our ability to contact users.
Also a Value Error is raised by Django when user tries to enter letters instead of numbers in the phone number field which significantly lowers the user experience instead we could raise errors on the page itself and prompt user to correct his input.

Add ScreenShots

Screenshot 2024-06-03 170351
Screenshot 2024-06-03 170413
Screenshot 2024-06-03 170207

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC'24 contributor
  • I want to work on this issue
Copy link

github-actions bot commented Jun 3, 2024

Hello @PranavN0509, Thanks for creating this issue and contributing to NEWS-AGGREGATOR-PROJECT ! We will review your issue soon and provide feedback.
If you're interested in working on this issue, make sure you get yourself assigned before starting your work.

@PranavN0509 PranavN0509 changed the title BUG: Contact Us Page Accepts Invalid and Incorrect Phone Numbers [BUG]: Contact Us Page Accepts Invalid and Incorrect Phone Numbers Jun 3, 2024
@PranavN0509
Copy link
Author

PranavN0509 commented Jun 3, 2024

Hey, @SiddharthBahuguna please assign me to fix this bug under GSSOC 2024. I have resolved the issue and am awaiting for your approval to create a pull request.

Thank you.

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

No branches or pull requests

2 participants