How to display only desired country in the address field?

  • hughdal
    Asked on June 16, 2015 at 12:02 AM

    Is there a way to NOT include all countries except USA and Canada in the shipping address?

    Thanks

  • Ashwin JotForm Support
    Replied on June 16, 2015 at 4:29 AM

    Hello hughdal,

    I am not sure if I have understood your question correctly. I did check your form and it seems that you have added address field for shipping address.

    Do you mean to say that you want to only display Canada & USA in the list of countries?

    Unfortunately it is not possible to remove few country form the dropdown list of address field. One possible solution is to hide the complete "country" dropdown from the address field and manually add a new dropdown question to display only desired country. Please check the screenshot below on how to remove the country dropdown from the address field:

    How to display only desired country in the address field? Image 1 Screenshot 20

     

    It is also possible to place the country dropdown to exact same location in the address field by injecting custom css code. Please take a look at the following cloned form and see if this is what you wanted to achieve:  http://form.jotformpro.com/form/51662221216950? 

    Feel free to clone this form for a closer look. The following guide should help you in form cloning:  http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • kladmin
    Replied on August 24, 2016 at 1:19 PM

    Can you assist with the custom css to line up the separate country field?
  • Ashwin JotForm Support
    Replied on August 24, 2016 at 1:42 PM

    Hello kladmin,

    I have moved your question to a new thread and you will be answered here:  https://www.jotform.com/answers/914820 

    Thank you!