Limit Geolocation to Country

Hi,

I’m using Gravity Forms geolocation add-on to autocomplete the address field. A couple of questions on the usage of this and if it’s possible to filter the Geo autocomplete at all.

  1. The pop up from the browser happens immediately to know a user’s location. Can this be delayed till a user reaches the form or removed? Since the form is down at the bottom of the page it’s a little confusing why the user is immediately being asked this and they can’t see the form yet.

  2. Is it possible to limit the Geolocation address autocomplete to only show results from a specific country, for example limit to USA or Canada?

Thank you.

  1. The timing isn’t controllable
  2. This is possible using the JavaScript-based gform_geolocation_autocomplete_options_pre_init filter. See the following page of the documentation for an example:

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