Webmastersite.net
Register Log In

Auto detect state dropdown

Comments on Auto detect state dropdown

kevinsan
Member

Usergroup: Customer
Joined: Nov 11, 2011

Total Topics: 17
Total Comments: 27
Auto detect state dropdown
Posted Jul 31, 2013 - 8:41 PM:

Hi Paul,

I seem to have forgotten how to make the auto state drop down work properly.

For example, on the suggest link page, the users country will automatically be detected. However, the states field will not be populated. See attached.

How do I have the states drop down populated with the correct country's states/provinces?

I believe I paid for this before, I just do not know how to implement.

Thanks.

Attached Files:
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 01, 2013 - 8:16 PM:

Enter the default country state list at Admin -> Settings -> Localization, and regions for additional countries using the tweak: scripts.webmastersite.net/w...r/state-selectors-566.html

As for autoselecting the correct state, region handling with the GeoIP database can be unpredictable. When you place the template variable {THISMEMBERIPLOACATION}, what does it show? That should give an indication of whether and how it formats states for Thailand.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.