Phone Number Input with Formatting - New Plugin from Zeroqode

We have just published a new plugin
Phone Number Input with Formatting - this is an input field designed specifically for phone numbers. Users can select their country from a drop-down list and the input element would hint the right format. Plugin would also check whether the phone number format is correct and would return the result as a state. Plugin would also return the phone number in case it is correctly entered.

You can try the working demo here:
Zeroqode Phone Number Input with Formatting

And a screenshot:
image

Levon Terteryan
Founder @ Zeroqode & Bubblewits

zeroqode-for-web-160x120

Bubble Templates
Bubble Plugins
Bubble Courses
Convert Web to iOS & Android
No-code Development Services

6 Likes

we’ve made a gif to better demonstrate this plugin :slight_smile:

Just purchased and used this plugin. It’s a real time-saver, thanks! Very easy and straightforward to use, great job @levon!

I think it’s just missing the possibility to customize the font family and font color (both for the input field and the error/success messages). Any chance you add this in the near future?

Side note: it also seems that the border-radius is not taken into account (even when we specify a number greater than 0 all corners remain sharp), but this is not a big issue, we can remove the border alltogether and achieve the desired style with a group around the input.

Hi @Lucien we’ll try to implement these improvements and I’ll let you know when done

1 Like

Hi @Lucien
we have added font, color and family for phone number input, as well as success/error messages to this plugin.

this works, you just need to specify the unit, for example 50% or 50px

thanks!

2 Likes

we have just pushed an update to this plugin
Now while user is typing the number is checking for correctness, no need to click away.
Also when changing the country the number is checking again without clicking away.

1 Like

Hi @levon! I’ve got a short (and hopefully simple and straightforward to implement) feature wishlist for the next release of the plugin. Please take a look below:

  • The ability to fetch the country’s English name, ISO code, and flag emoji from the input. Currently, one can get only the phone number itself and whether it’s valid or not. I’d originally tried using @gaurav’s Phone Number Input (bdk) instead, but that plugin has both serious CSS issues when used in popups (which yours doesn’t) and its own set of limitations (some of which I could fix manually, such as e.g. displaying emoji flags by creating a conditional for every single country value; however, I’ve already paid for the plugin and I really don’t feel like setting up 270 or so conditions would be a terribly smart use of my time). Anyway, the plugin in question doesn’t really get updated that often (e.g. the popup bug was reported back in April and it’s still there), whereas Zeroqode seems to be delightfully fast with shipping updates to its own plugins, so I’m more than happy to switch over.

  • Correct height resizing. When the input is at the default value (height: 25 px), it looks OK:

image

The moment it gets resized, it starts acting weird:

image

I tried circumventing the issue by keeping the input at the default value, stripping off most of its styling, and creating a disabled input styled as I liked to serve as its background. However, the country selection click area became too small and, even more problematic, the dropdown got cropped out entirely when activated. I realized the approach I took to fix the problem had been probably just a little too much hacky, so here I am writing this. :slight_smile:

Thanks for listening!

Hello @chaostorm

Let us check and review the feedback, we’ll update on the matter asap.
Thanks for understanding.

@ZeroqodeSupport Sure, thanks!

hi @chaostorm
we have just pushed a fix
New states : Country Name, Country ISO code, Selected Country Dial code,Selected Country Flag Emoji

as for the other issues you mentioned, unfortunately those cannot be fixed due to some Bubble limitations.

Please support us with a retweet

Levon Terteryan

Founder @ Zeroqode

zeroqode-for-web-160x120

Bubble Templates

Zeroqode Blocks

Bubble Plugins

Bubble Courses

Convert Web to iOS & Android

No-code Development Services

1 Like

Wow, you guys are FAST! :zap:

Thanks a ton, I can’t wait to try it out!

Hello @levon

Would it be possible to localise the country names for the Phone Input plugin? This way, the user can look up the country based on the language set.

Ideally there could be a setting in the plugin to pass the language to localise the countries’ names.

Regards.

HI @miguel
we might do it at some point later, but not at the moment, I’m afraid
sorry about that

@levon
Would it be possible to style the input box itself? Like change the background to a flat color or image?

@jgordon, Hello

Sorry but no, you can customize border styles, and Font styles only, you can’t change the background of the field.

Thank you for reaching out,
BR,
Nik.

We’re trying to make a phone number input where someone can copy and paste from their phone - say iphone for example - into our website form. Right now the user can’t do that, and I’m told it has to do with the difference of how most phone contacts format phone numbers with +1 and bubble not doing that.

Does this plugin help with that issue at all?

Hello there @shubha.bala, please can you show me the flow which you want to implement in your application, cause I need to understand the functionality, cases where you wish to use this phone number after user pasted it in your form.

Thank you,
BR,
Nik.

Once the phone number is stored in our database, we use Zapier to send it to another service called Textline where we will send them text messages. When I send it to Zapier I already have to manipulate the data (I believe Zapier wants XXXXXXXXXX and I just truncate the field before I send it over), so I don’t think the format matters as long as I can manipulate it to be the right format when I send it to Textline.

The main issue is still just how can I use my iPhone, copy a phone number from contacts, and then paste it into the bubble web form.

Hello there @shubha.bala, you have to paste the number in simple input with text format, and it will be saved fine in database if the field will be also as text data type.

Hope it helps you,
BR,
Nik.

First of all thank you for plug-in it is wonderful but
On mobile phone, don’t you think that the countries selection drop down is so short and uncomfortable to select?