REST API

Geodata Solutions offers much more than this simple code snippet. We have a fully-featured international location API offering population, geocoding, language data and much more (Try the demo), or read about what's happening on our Blog

1. Configure your dropdowns

Country options

Group by continent

Continent options

State options

City options

Powered by ChronoForms - ChronoEngine.com

2. Test your dropdowns

3. Copy and paste this code into your form. That's it!

<select name="country" class="countries" id="countryId">
    <option value="">Select Country</option>
</select>
<select name="state" class="states" id="stateId">
    <option value="">Select State</option>
</select>
<select name="city" class="cities" id="cityId">
    <option value="">Select City</option>
</select>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> 
<script src="//geodata.solutions/includes/countrystatecity.js"></script>


Documentation

Geodata Solutions is brought to you by Netamity © 2017