Users entering unnecessary '1' before area code in phone field

We have a phone field on our form that is limited to 10 fields only. We are finding that some users are entering in the extra ‘1’ before the area code and thus we are not getting the last digit of their phone number.

Screenshot 2023-11-13

So in my example, because they entered the international 1 digit, we missed the last digit of their number! Has anyone come across this or have a workaround either javascript or something else?

Thanks!

Hey there,

First, add a Single Line Text field. Then, go to Field Settings > General Setting and enable the Input Mask. Choose the Custom option and insert the custom mask format 9 (999) 999-9999, which will allow users to submit their 11 digits phone number.

After that, the output will look like the following screenshot. :point_down:

To know more details about the input mask, please have a look at the official documentation here. :point_down:

Give it a shot, and let me know how it works! I’m looking forward to hearing back from you. :grinning:

Best Regards
Faisal

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.