Hide fields from "address_field Module" form I have a site using Profile2 with address_field Module; and I would like to prevent users from filling out the follwing fields:
Address 1
Address 2
ZIP Code
Country

The goal is is only to be able to fill only CITY AND STATE; (e.g. Orlando, FLORIDA)

Thanks.

J.M.
in a hook_form_alter() add:

   hide($form['field_address']['und'][0]['street_block']);


you can use dpm($form['field_address']['und'][0]) to get the name of the city, and country fields.

You could also use CSS to hide the fields but I ran into problems where browsers prefilled those fields. It's better to hide it with a hook.