Git Product home page Git Product logo

Comments (4)

jenanwise avatar jenanwise commented on August 31, 2024

Thanks for the report! Do you have some example fake phone numbers that are not being detected correctly? Possibly a reference I could look at?

from jquery.mobilephonenumber.

3642066 avatar 3642066 commented on August 31, 2024

My cellphone : +55 (31) 91XX.XXXX is now +55 (31) 9 91XX.XXXX and all the landline phones still +55 (31) 4XXX.XXXX
In my last project i had to use 2 fieds, one for landing phone number, not validating data, then can insert even the mobile or landing phone, and the other field i formatted the data requiring the 9 digits phone. It's complicated because its not for all mobile phone numbers of the country !

from jquery.mobilephonenumber.

jenanwise avatar jenanwise commented on August 31, 2024

Thank you! I'll look into this. Note that I edited your post so as not to leave your full numbers in the open.

from jquery.mobilephonenumber.

3642066 avatar 3642066 commented on August 31, 2024

Ok, no problems about that, my phone number is already public, if someone calls me to make a joke, i will also make a joke with him. LOL. I think maybe one of the solutions is to make something like you have done to the country, when you insert +55 happens "BR" detection, but only SOME oF states and cities are now using 9 digits, so, it could allow one more digit when i insert the 2 digits of the city (31), and the other cities that are now using 9 digits. I could find you a list of cities. I temporally solved my problem here, using 2 fields (one for landing and one for mobile), but my code is buggy,because it format the numbers into 9 digits, and accepts posting if user has inserted only 8 digits .. its hosted on cadastrinho.site50.net .. Anyway, i worry about the development thing, and i see no changes, not any official solution about this,. DOnt you think the "ANATEL" should at least make ALL PHONE numbers (landing and mobile) with 9 digits, and make that a standard, even for small cities ?

from jquery.mobilephonenumber.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.