I was assuming that addressfield would include a State/Province and Zip/Postal code field. Am I assuming correctly? When I install addressfield on a fresh Drupal install with no other modules except core modules installed by default and ctools, I'm only seeing Address 1, Address 2, and City (and First Name, Last Name, Company, Country, etc. depending on settings) when I add a postal address field to the user account. I have been unsuccessful in getting a State and Zip field.

I've tried all combinations of recommended and dev releases of addressfield and ctools. I've tried enabling the modules together and separately with ctools first then addressfield. I didn't get any errors and I'm not seeing any in the logs. I'm running php5.3.5 on Ubuntu 11.04. Can someone else try to reproduce?

Thanks,
Mickey

CommentFileSizeAuthor
#1 addressfield.png212.82 KBmicnap

Comments

micnap’s picture

StatusFileSize
new212.82 KB

Further clarification - this is what I see when I add an address field. No state or zip or on the settings page nor on editing a user account.

Mickey

Sergei Churilo’s picture

Same thing. Subscribe

Sergei Churilo’s picture

I've searched through module code and found solution - set default country on the "Regional settings" page (admin/config/regional/settings). In my case this value was set to "-none-" - so Afghanistan was the default for addressfield module as first element in country list.

gold’s picture

Status: Active » Closed (works as designed)

I had the same thing and the the suggestion at #3 fixed it for me too.

micnap’s picture

Ditto. Thanks Jabb!

Mickey

elly’s picture

Had the same issue. Thanks!

johnlaine’s picture

Same here, #3 worked, thanks Jabb.