GeoComplete and validation based on country

I’m testing GeoComplete and Parsley validaton.

Updated version is at the following URL:

How to set positive message if street is found?

It provides the ability of populating these coordinates after selecting the address from the list and we can use these values to validate the address via the callback validator. I need to reset the latitude, longitude values and mark the field as not validated.

Need help.

As you see it is limited to UK addresses.
Form is as usual:
name=“mystreetfield” placeholder=“Postal address” required data-parsley-trigger=“change”

<script src=";libraries=places"></script>
<script src=""></script>

<script src="../jquery.geocomplete.js"></script>
<script src="logger.js"></script>


var center = new google.maps.LatLng(50.863257, -0.090621);

map: “.map_canvas”,
country: ‘UK’


Hi there,
Please follow the link to understand how the Geocomplete works.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.