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

Check if the phone number has 10 digits in the phone number input in the Lost pets form #13

Open
Urmi-Jana opened this issue Feb 6, 2023 · 0 comments
Assignees

Comments

@Urmi-Jana
Copy link
Contributor

Checking if the phone number is valid (has exactly 10 digits and no extra symbols) should be added to prevent error prone numbers like "-3" are not submitted. The existing code only checks if the number is greater than 10 digits.

The file is located at frontend\src\pages\LostForm.js

image

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

1 participant