-
becshall73Asked on March 12, 2019 at 12:50 PM
Hi, do you have a widget that allows the user to enter their house number and postcode and then search for their full address?
Thanks.
-
BJoannaReplied on March 12, 2019 at 2:21 PM
Please check GeoComplete widget - https://widgets.jotform.com/widget/geocomplete
This widget allows you to find locations by zip code, street numbers, street name, business names among other address identifiers.
-
becshall73Replied on March 13, 2019 at 8:32 AM
Thanks. I tried the demo, but the widget doesn't seem to do anything when I type in the first line of my address or postcode or even city.
-
Alan_DReplied on March 13, 2019 at 11:22 AM
After you add the widget to your form, you must configure it with the API key you received from Google Maps.
You can find the Google Maps API key here.
If you add Google Maps API key, could you please share the link of the form you are working with? -
becshall73Replied on March 14, 2019 at 1:09 PM
But why doesn't the demo work? I don't really want to go to the trouble of getting a Google Maps API key if it turns out the widget doesn't do what I want.
Thanks.
-
BJoannaReplied on March 14, 2019 at 2:44 PM
It seems that the Google Maps API on your demo form expired or it is not working.
Please test the GeoComplete widget on this form - https://form.jotform.com/90725965416970
-
becshall73Replied on March 15, 2019 at 7:04 AM
Thanks.
Can you tell me which of the Google products I need the API key for so that I can work out the price?
E.g. is it:
Thanks.
-
jonathanReplied on March 15, 2019 at 8:18 AM
You can test the demo form again from here https://widgets.jotform.com/widget/geocomplete
It should work. Th API on the demo form was just not updated.
-
becshall73Replied on March 17, 2019 at 2:18 PM
Thanks.
Can you tell me which of the Google products I need the API key for so that I can work out the price?
E.g. is it:
Also, is it possible to restrict the widget/API to only return addresses from the UK?
Thanks.
Edit -
Elton Support Team LeadReplied on March 17, 2019 at 3:16 PM
You need the Maps Javascript API. Here's the URL https://developers.google.com/maps/documentation/javascript/get-api-key
You can create one from here https://console.developers.google.com/projectselector2/apis/credentials?pli=1 and make sure to enable "Maps JavaScript API" on the dashboard.
Unfortunately, this widget has only 2 restrictions at the moment, it's either US or Worldwide.
Anyway, I have opened a feature request for this widget to include UK on the search restriction list. Once this is added in the future, we'll inform you here.