How to remove the Area Code on phone number and country entry from the Address field

  • Profile Image
    GrahamBuck
    Asked on April 27, 2016 at 04:51 AM
    have not worked out yet how to delete the Mobile Country Code, but that is my next target to work it out, I do not wish the Country code to be displayed, as my forms will only be used in Australia
  • Profile Image
    beril
    Answered on April 27, 2016 at 06:54 AM

    You can remove the area code by adding the CSS code below:

     

    #input_39_area {

        display : none !important;

    }

    #sublabel_area {

        display : none !important;

    }

    .phone-separate {

        display : none !important;

    }

     

    However, at that time it will also disable sublabel of your home phone field. Because, sublabel_area and phone-separate do not have a unique ID. To solve that issue, I suggest you to use a basic text field your mobile number field instead of adding CSS code.

    If you have any question or issues, please do not hesitate contacting us. We will be glad to assist you.

  • Profile Image
    Boris
    Answered on April 27, 2016 at 06:56 AM

    I believe you are referring to the Country part of your Address field, is this correct?

    If so, you can easily control which parts of the Address you want included or excluded, by clicking on your Address field, and then selecting the options from the toolbar button named Fields:

    You can simply un-tick the Country option and click on OK, and your form will no longer ask for Country in this Address field.

    If you need any further assistance, or if I have misunderstood what you wanted to achieve, please let us know and we will be happy to help.

  • Profile Image
    GrahamBuck
    Answered on April 27, 2016 at 07:44 PM
    Thank you very helpful and easily fixed. Good instructions and easy to change.
    Your help is very much appreciated.

    Graham Buck

    ...
  • Profile Image
    Mike_G
    Answered on April 28, 2016 at 01:38 AM

    On behalf of my colleagues who helped you with your concern, you are most welcome. Please feel free to contact us anytime you have questions or concerns.

    Thank you.