Hi pcambra, thanks for this module!

It seems that the field values are not saved when enabling this sandbox module, I'm using the latest version of addressfield (7.x-1.0-beta2). I have preselected Spain as the only valid country, but I guess this shouldn't affect. Any idea?

Comments

facine’s picture

With addressfield dev version saves all values ​​except: postal_code, city and province.
I think is problem os addressfield module.

muschpusch’s picture

You have to remove one dimension of the array:

['locality_block']

Than it works....

facine’s picture

This patch only works in addressfield -dev

muschpusch’s picture

Thanks for the patch i was to busy to create one myself. Sorry for that. the next issue you probably will have: the allowed countries aren't rendered well.

You need to pass a field_name and an instance to the get_country_list (not sure about the name) function. I already looked up the function than i realized that my update to commerce 1.1 broke seven sites and i need to fix it now :(

http://api.drupal.org/api/drupal/modules--field--field.info.inc/function...

facine’s picture

StatusFileSize
new1.31 KB

Add required to administrative_area

facine’s picture

Patched

facine’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.