How to disable country?

  • commonsensedesigns
    Asked on November 6, 2015 at 8:55 AM

    The membership will be only in the UK, I did try to delete all the countries in the address block so that option wasn't there which may have messed things up too. Could you send me the source code for the address section without the country option so I can just substitute that so it works properly?  

  • beril JotForm UI Developer
    Replied on November 6, 2015 at 9:28 AM

    Hi again,

    If you want to disable country on address field it is possible with Jotform. I will show you step by step.

     

    Here is how to do this: 

    Please, copy the CSS code and paste it to your CSS.

    Your ID of country is #input_5_country

    How to disable country? Image 1 Screenshot 60

    #input_5_country, #sublabel_country {display:none !important;}

    1) Click on Setup & Embed.

    How to disable country? Image 2 Screenshot 71

     

    2) Click on Designer.

    How to disable country? Image 3 Screenshot 82

     

    3)Paste the code above to your CSS.

    How to disable country? Image 4 Screenshot 93

     

    Here is how it works:

    How to disable country? Image 5 Screenshot 104

    I hope it will help.

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