Phone Number Input with Formatting - New Plugin from Zeroqode

Hello and thanks for the reply!

Yes, this is a useful feature, but I’m asking if there is a way to set the placeholder number (taking the US example for instance) to al zero’s or to NOT display any number at all as a placeholder, because the default numbers that shows the formatting can be misleading and can put the user to think that a number is already filled in.

When I tested my app, some users thought there was already a number filled in the phone field. That’s why I’m asking.

So, to recap, I’m asking if there is a way to do one of this behaviours:

  • not showing anything as a placeholder when the input phone is empty
  • showing all zero’s as prefilled numbers in the placeholder

Thanks for the attention, that’s really appreciated :slight_smile:

Hi @oh.devteam,

Thanks for clarifying. Unfortunately, it is not possible to accomplish these:

But we have taken your feedback into account and will look into possibility for future updates.

Best regards,
Zeroqode Team

Hello @ZeroqodeSupport!
Thanks for taking my request into consideration, I’ll hope for further news in future :slight_smile:

Have a great day!

1 Like

Hi @ZeroqodeSupport

I have this error

Any idea ?

Thanks

Hi @comebackevents,

Thanks for reaching out. Unfortunately, this error is not reproducing on our side. Could you please send the following details:

  1. screenshots and/or screencast of your app setups, the complete property editor settings of our plugin, and preview behavior
  2. the exact steps to reproduce this error
  3. browser and OS you are using to develop the app
  4. what you are trying to accomplish with this plugin

So we can have a better troubleshooting then provide better feedback asap.

Best regards,
Zeroqode Team

Hi @oh.devteam,

We are reaching out to notify you that our Phone Number Input plugin has been improved.
1.18.0 - Fixed countries dropdown display on mobile. Added new states: “is hovered”, “is pressed”, and “is focused”.
Please upgrade it to the latest version, refresh your app and give it a try!

Best regards,
Zeroqode Team

Hi @zeroqode,

First off, the plug in is very good!

However, I’m struggling to change the number’s background colour.
When it’s not being edited, I need it to be blue, but when editing it should be white.

Screenshot 2020-12-03 at 14.09.24

I’m using the conditions but they seem to have no effect…


Screenshot 2020-12-03 at 14.07.16

Any idea?
Thanks

Appearance properties…



Hi @andrew.mcdonagh,

Thanks for reaching out. Unfortunately, this implementation causes circular reference error in Bubble, which doesn’t make it work as expected. Please let us check on it if possible to workaround, then get back to you asap!

Best regards,
Zeroqode Team

Hi @andrew.mcdonagh,

Unfortunately, it is not possible to use plugin states with current implementation because of circular reference, but here is a possible workaround that should help:

Place an HTML element on your page, containing the following code:

image

So it changes the background color of phone input when it is focused, and when it’s not - color is changed back to its original one (blue, in your case).

Best regards,
Zeroqode Team

Brilliant. Many thanks.

1 Like

Hey @ZeroqodeSupport @levon

Is there a way to resize the input itself without having to do it by increasing/decreasing font size?

It looks like the only way to increase the height of the input is by making the font size larger, which doesn’t work for me or my app’s style

Hi @jcalvarezjr ,

Thanks for reaching out. Unfortunately, it is only possible to adjust the width of the phone input, but in order to adjust the height - yes, you are right, it can be done only by adjusting the font size.

Best regards,
Zeroqode Team

Is it possible to only allow a specific country?

Hi @reger-alexander ,

Thanks for reaching out. Unfortunately, it is not possible, but perhaps you can use this feature as a workaround:

image

So it will automatically prompt you to enter the preferred country number.

Best regards,
Zeroqode Team

I have found a bug with the validation. See atached screenshot

Screenshot from 2021-03-17 18-04-33

Clearly this number isn’t a valid number. The whole reason I got the plugin was to validate numbers, eg. all South African numbers should 10 digits, Uk numbers can be 11 digits, etc but it seems the plugin cannot do this. Am I doing something wrong?

Hi @alatha ,

Thanks for reaching out. Unfortunately, this issue is not reproducing on our side after testing. Could you please send screenshots and/or a screencast of your app setups and plugin configurations, so we can replicate the exact settings and see where the problem might be.

Best regards,
Zeroqode Team

Please check out this screen recodrding I made

As you can see the validity check is wrong. The number entered was too short to be a valid number

1 Like

Are you sure this is actually no valid number? Another number validation service also recognizes it as a valid number

1 Like

Ah , I also did a lookup, and the library I’m using also says it’s a valid. Strange, we’re using twilio to authenticate numbers and twilio says this isn’t a valid number, nor can you call that number. It must be something strange about that number because similar I tried return a not valid result. Oh well, thanks for your help.

1 Like

Hi there @winsocial, @reger-alexander,

Thanks a lot for your feedbacks. This is right, the validity of this number is true which is why it returns the yes value.

Let us know in case you have any other questions!

Best regards,
Zeroqode Team