Phone Number formatting: lock country code

  • Profile Image
    Asked on May 31, 2021 at 08:33 AM


    We have a form where we collect the phone numbers of the user filling in the form. We wish to mask the country code such that the user is not able to edit it. Also limit the number of phone digits to specific country e.g Uganda

    Can we achieve this without use of widget?

    If yes, how?


    Help to Help

  • Profile Image
    Answered on May 31, 2021 at 10:46 AM

    Hi, thank you for contacting supprot.

    You can enable the input mask option and set the default country code:


    Here's a demo form:

    Please check and let us know if you need further assistance.

  • Profile Image
    Answered on June 08, 2021 at 02:38 AM

    Thank you. This was helpful