You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Record
I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue
The text was updated successfully, but these errors were encountered:
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
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
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.
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
Record
The text was updated successfully, but these errors were encountered: