Ajax AutoComplete Support Product Page

Answered

UK 'County' not populating the 'State/Province' field.

Asked 07 Apr 2014 16:19:06
1
has this question
07 Apr 2014 16:19:06 pAUL KASHBORNE posted:
I have the latest version.

I'm a UK user developing a mapping feature for UK properties.
I note that field we refer to as the 'County' in UK is not populated, when a full valid UK address is typed.The AutoComplete field this refers to is the 'State/Province'.

As i'm saving the address in my table and each field is searchable, the missing 'County' field is causing issues.Can you advise if this expected behavior, is there something i should be doing and not?

Thanks, Paul.

Replies

Replied 03 May 2014 09:29:04
03 May 2014 09:29:04 pAUL KASHBORNE replied:
Any time estimate around when you can look and respond to this please?
Replied 31 May 2014 12:31:02
31 May 2014 12:31:02 pAUL KASHBORNE replied:
Whats your usual turnaround when responding to customer questions?
its been over a month since posting my original question?

Thanks.
Replied 02 Jun 2014 10:27:08
02 Jun 2014 10:27:08 Teodor Kuduschiev replied:
Hello Paul,
We've checked the issue. Google provide the States/Provinces and Counties as different data types.

Quoteadministrative_area_level_1 indicates a first-order civil entity below the country level. Within the United States, these administrative levels are states. Not all nations exhibit these administrative levels.


Quoteadministrative_area_level_2 indicates a second-order civil entity below the country level. Within the United States, these administrative levels are counties. Not all nations exhibit these administrative levels.


In order to use the State field as a County field you can edit the jquery.autocomplete.js file for now, until we include county options in the next update. All you need to do is to find and replace this:
administrative_area_level_1
with
administrative_area_level_2
and save the js file.
Replied 02 Jun 2014 20:27:35
02 Jun 2014 20:27:35 pAUL KASHBORNE replied:
ok, thanks for response.
Replied 02 Jan 2016 23:24:19
02 Jan 2016 23:24:19 pAUL KASHBORNE replied:
Any update planned?
This reply was removed on 8/4/2024 8:03:26 AM.
See the changelog

Reply to this topic