How can I remove the area code from the Phone number element?

  • Profile Image
    Noorcakesbakes
    Asked on May 07, 2020 at 05:10 AM

    How can I remove the area code from the Phone number element?



    This is a re-post of a comment on How to Inject Custom CSS Codes

  • Profile Image
    Richie
    Answered on May 07, 2020 at 06:51 AM

    Depending on your field id's you can use custom CSS to hide the area code.

    15888485591.png

    Guide:https://www.jotform.com/help/146-How-to-Find-Field-IDs-and-Names

    Sample CSS:

    #input_18_area{

    display:none;

    }

    .phone-separate{

    display:none;

    }

    #sublabel_18_area{

    display:none;

    }

    15888486791.png

    Or you can just use the number field and label it phone number.

    Hope this information helps.

    If you have further questions, let us know.