Skip to content

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

@Urmi-Jana

Description

@Urmi-Jana

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions