SiddharthBahuguna / NEWS-AGGREGATOR-PROJECT

The news aggregator project aims to create a centralized platform that curates and organizes news articles and updates from various sources across the internet. It is being developed to address the growing need for a consolidated and user-friendly platform that offers reliable and diverse news content
https://newsonion.onrender.com
MIT License
32 stars 61 forks source link

[BUG]: Contact Us Page Accepts Invalid and Incorrect Phone Numbers #116

Closed PranavN0509 closed 3 weeks ago

PranavN0509 commented 1 month ago

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

github-actions[bot] commented 1 month ago

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 commented 1 month ago

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.