Input mask on phone number for international numbers

  • Profile Image
    Logan_Forsyth
    Asked on December 22, 2020 at 07:08 PM

    Hello,

    If I do an input mask on the phone number field, requiring the number format to be (###)###-####, will this exclude international numbers that are more than 10 digits or have a different country/area code?

    Ideally I would like to set it up this way bc people get confused by having 3 separate boxes for the country code, area code, and the remaining numbers causing them to incorrectly input their info.

    If there's a way to make the phone number option just one box without disabling someone's ability to input their phone if they have an international number, that would be ideal.

  • Profile Image
    JohnRex
    Answered on December 22, 2020 at 09:20 PM

    Yes, if you'll use INPUT MASKING, the user cannot add numbers beyond the required digits.

    How about using the International Telephone Picker widget? It allows your form users to accurately select the country code prefix for telephone numbers while displaying the country flag on the field after selection.

    You can configure the widget to display a default country code prefix if your form is focused on a specific country audience.

    Please check this demo form for you to try how it works: https://form.jotform.com/53432751590960

    GUIDE: how-to-add-a-widget-to-your-form