Hi,
this looks a great module (and the code looks impeccable) but it is just too complex to use for international addresses. What I believe is needed is:
-a dropdown select list of all countries (attached in MySQL import format. Source: wikipedia), so that they select rather than the freeform "other" field,
-without having to check 246 "allowed countries"
- and without it insisting I live in Alabamba. The majority of nations DON'T have states in their addresses.
- ability to turn off validation of fields. in my country (New Zealand) there are two parallel zipcode systems, neither of which anyone uses. There is no available street/code crossreference data that i know of

Thanks anyway.

Comments

zcc_nz’s picture

There is only ONE Post Code system in NZ.

The old one is invalid and you should be using the new codes from June (or July) 2008 and any references to the old values may result in your mail being returned or left at the dead letter office as recently happened to friends of mine.
I have been trying to build a list of post codes (75% done), but nz post wants to charge for it and I am too cheap to pay. Its in their best interests that we get it right yet they want to make money out of it and thus make it harder for us to do... IDIOTS!

As for the rest...well I think the code could be better (but I always think that), and yes a nice little yes/no type switch on field validations would be nice.
There is a new zealand street/code reference data table, I found on the net, its quite accurate and links to post codes only not long/lat as I would like.
Suppose this is all a bit off topic???
Sorry

zcc_nz’s picture

StatusFileSize
new120.76 KB
new88.21 KB

Ok here is a list of post codes for new zealand by locality as sourced from a government website (not NZ Post as they want $$$) and valid as at 1st July 2008.

I have include the new postcodes only in file xport_postcodes.txt. New post codes are in text fields with leading zeros.
xport_postcodes_old.txt contains both new and old postcodes, the old postcode is a number with no leading zeros.

I am pretty sure its accurate and correct as at July 2008.

Anyone know how to keep up to date with changes to localities in NZ?
(edited for filenames)

NewZeal’s picture

Status: Active » Fixed

International support is now possible using the country_select module with the countries data included in the latest download of cck_address.

NewZeal’s picture

Status: Fixed » Closed (fixed)