What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Autocomplete Address widget - show only countries and cities

    Asked by gijs_ros on March 28, 2016 at 02:12 PM

    Dear Jotform,

    My form: https://form.jotformeu.com/60573168018355

    This form is about creating a packinglist for holidays.
    At the start of the form, they need to enter their destination.
    At this moment they only choose the country they are travelling to.

    I would like to have more specific information, for example 'City'.
    I have tried the "All states and cities" widget but this is not working for me.
    This widget needs customers to know the state of a country they are travelling to in order to pick a city.
    Most travellers do not know which state their city is in.
    For example:  As a Dutch guy, if i would go to Oslo, Denmark. How do i know which state Oslo is in...


    My wish is to have an autocomplete field where they can enter the city or country they are travelling to.

    For example like: http://www.booking.com
    I would like to show the city + country.

    In theory this looks like the 'Airport picker' widget, but then for all cities and countries.

    On this website I found info with every city: http://download.geonames.org/export/dump/

    My problem is i do not know how to use/script this..


    Could u help me?


    Kind regards,





    Page URL:

  • Profile Image
    JotForm Support

    Answered by BJoanna on March 28, 2016 at 03:32 PM

    You can use Autocompleted Address widget. 

    Inside of this guide you can find how to add widget to your form: 


    Hope this will help. Let us know if you need further assistance.

  • Profile Image

    Answered by gijs_ros on March 29, 2016 at 01:57 PM

    Hi BJoanna,

    thank you for your quick response.

    I am trying the autocomplete address widget.
    At this moment all the fields are showing on the form, although i only enabled City and Country in the widget:


    - Is it possible to edit the text "Enter your address here" since my website is not in English but Dutch.
    - Is it possible just to have the empty textfield that autocompletes citys and countries?
    - if not, how do i hide the fields House number, state and zipcode? So that only City and Country are visible.


    Hope to hear from you soon

    Kind regards,




  • Profile Image

    Answered by gijs_ros on March 29, 2016 at 02:08 PM


    i think i just found my answer in the "Geocomplete" widget on another thread!!


  • Profile Image

    Answered by gijs_ros on March 29, 2016 at 03:02 PM

    Is it possible to add a sublabel to the geocomplete widget?
  • Profile Image
    JotForm Support

    Answered by BJoanna on March 29, 2016 at 04:26 PM

    Considering that you last question is not related to subject of this thread I have moved your question to separate thread and we will provide you an answer there shortly. 


    It should be possible to hide the fields House number, state and zip code with Custom CSS. If you would like to use  Autocompleted Address widget, we can provide you CSS code.