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

Issues with phone number validation : for instance 07 does not work for France #306

Open
fallen opened this issue Jan 29, 2023 · 2 comments

Comments

@fallen
Copy link
Member

fallen commented Jan 29, 2023

For instance go to https://petition.antipub.org/petition/25/ and try to sign it with phone number 07 12 34 56 78
it will be refused, even though lots of people have mobile numbers starting with 07 in France.

Do you know how to fix this @Benbb96 ?

@Benbb96
Copy link
Contributor

Benbb96 commented Jan 29, 2023

Hi @fallen

Are you sure that this phone number is indeed a valid one ? I tried on this website https://messente.com/phone-validator and it says it isn't.
In my experience, 07 numbers should work with PhoneNumberField. Maybe an update of the package is needed to let new phone numbers work..

@fallen
Copy link
Member Author

fallen commented Jan 29, 2023

Ok indeed I tried with a real 07 number and it worked.
Someone reported to me some issues but I don't have the exact number.

I will try to reproduce the issue with a real number.
Thanks for your quick answer :)

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

No branches or pull requests

2 participants