Capturing phone number in national format

By: Brad Sperr | Asked: 08/16/2024
ForumsCategory: General questionsCapturing phone number in national format
Brad Sperr asked 4 months ago
I'm using the phone number field (the international option with the flag dropdown) to capture phone numbers.  I can see that it's based on the intl-tel-input plugin but I'm having trouble adjusting the options.  This field will auto-format the phone number into a national format as you enter it, which for US numbers is (xxx) xxx-xxxx, but then it immediately reformats the number into an international format, which for US numbers is +1xxxxxxxxxx, when you exit the field.  I only want to capture the national format of the phone numbers without any kind of reformatting.  Does anyone know how to do that?

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right