How to remove the 'Area Code' on phone number field?

  • Profile Image
    Angusnorriss
    Asked on March 11, 2019 at 11:33 AM

    Hi


    How do I remove the 'Area Code' on phone number file dso it is just one phone number entry field?


    https://eu.jotform.com/build/90667825022357



  • Profile Image
    Bojan_R
    Answered on March 11, 2019 at 01:29 PM

    Please open your Form Builder, then click the Form Designer icon. Go to the CSS tab, and make sure there's a closing curly bracket " } " on line 38 as shown on the image below:

    1552323918bracket 1.png

    After the 38th line, inject this CSS code below:

    #input_18_area{

        display: none;

    }


    #sublabel_area{

        display: none;

    }


    .form-sub-label-container{

        padding-left: 0px !important;

    }

    If you need a guide for how you can do it, see this link: How-to-Inject-Custom-CSS-Codes.