Address Field is a Drupal 7 field module to hold postal addresses, implementing a subset of the fields defined in the xNAL standard.

learn more… | top users | synonyms

1
vote
2answers
25 views

How to assign a dynamically updating date to a user based on a related field on their profile

I have a site where Users who can expect a delivery to their address every week depending on their delivery route. I also have a Content Type of "Delivery Route" and a Content Type of "Delivery" with ...
1
vote
1answer
28 views

Is it possible to add help text to addressfield module fields?

I would like to add some help info to address field fields from Address Field Module (http://drupal.org/project/addressfield). Is that possible, or do I have to use Javascript?
0
votes
1answer
22 views

How can I use tokens for Addressfield values without using Addressfield_tokens?

I would like to use the Town/ City field as a token for Pathauto. I thought the Addressfield_tokens module was perfect for this, but Entity Tokens breaks Pathauto's patterns control panel; the issue ...
1
vote
0answers
30 views

Can conditions be attached to how a Geofield is populated?

Some of my nodes will be created via Feeds, which will import lat/long data, which I can store in Geofield to pass to Leaflet. However, some of the feeds I am using do not have lat/long data, so I ...
0
votes
0answers
18 views

Shared Address Book

I have a Marketplace setup on my site with multiple sellers creating unique content. Each seller is a GROUP and consists of individual users. I'd like to have an Address Book for each group. There is ...
1
vote
1answer
77 views

using same addressfield for profile2 and commerce module

I have a site with two different profiles (with different fields) where one of these are able to buy a product. In this context I want to use the same addressfield for one type in the billing ...
0
votes
2answers
195 views

zero distance in views geofield proximity problem

I am having trouble getting it views to calculate the distance. I want a current user to see the distance to other users however the only result I have gotten is 0 between users. I tried to follow ...
0
votes
0answers
77 views

Possible to filter OpenLayers view results for Field A by the polygon boundaries of a Geofield value from Field B?

I have two Content Types in my D7 site: Neighborhood and Property. Neighborhood has a Geofield field that contains one polygon value (i.e. a square block drawn on a map input widget). Property has a ...
1
vote
1answer
84 views

Rearranging subfields with the Address Field module

Is there a way to rearrange the fields within the widget with a specific hook? Should I use hook_form_alter()? To be more specific, I want to put the country field below the zip-code field when using ...
0
votes
1answer
126 views

Adding an address to a node's address field programmatically

I am presenting a form to receive an address. I want to take the data and add it to a node that has an address field (from the address field module). Can someone point me in the right direction on ...
2
votes
2answers
162 views

Overriding Class Div Form-API

Objective: To override the default classes and divs that are spit out from the Form-API from my custom addressfield implementation in a Drupal Commerce checkout pane. I need to make the classes/divs ...
1
vote
2answers
424 views

How can I set a default value for the country in an addressfield?

I'm trying to set the default value for a country in an addressfield (caught in hook_form_alter) and ensure that the associated fields (administrative area, etc.) are refreshed properly. How can I do ...
5
votes
1answer
912 views

Mark a location on a map (Google Maps/OpenLayers) on a node creation or edit page - but with which module?

I have a custom content type, and I would like my users to mark a location on a Google Maps/OpenLayers map, save these coordinates, and on the frontend, show the location's map and the GPS ...
2
votes
0answers
184 views

Programmatically Update Geofield Data

My setup is: Addressfield on nodes to collect address data Geofield using "Geocode from another field" choosing the addressfield and the Google Geocoder When I edit/save a node in the UI, the data ...
0
votes
0answers
64 views

Addressfield on node edit form- how to change the position of fields to display like Location module?

On the node edit form, by default, addressfields provided by the Addressfield module display like this: Country City / State I would like to display my addressfield on the edit form only like the ...
0
votes
1answer
129 views

Use text field value on another text field on same node on save

I have two fields on a Content Type called Property that requires the same information and I am trying to have it so that it only needs to be inputted one time be the user. I am using the module ...
2
votes
2answers
437 views

How to prefill address field forms?

I've been using the Prepopulate module for a while, and it works really well. It can't prefill an addressfield type field, though. How can I achieve this?
0
votes
0answers
83 views

Accept either address or polygon as input for Openlayers map

I'm creating a site for a realtor - I'd like for them to be able to add either an address, or draw a polygon for land sales. I have the requisite content type setup with the various fields. I know ...
1
vote
2answers
245 views

How can I display the value of an addressfield in a single line?

I modified the "Address form (country-specific)" bundled with the Addressfield module to take only a country, administrative area, and city; this works fine on the node edit form, but when the field ...
3
votes
2answers
327 views

How do I convert AddressField “Administrative Area” abbreviation to full name

The Address Field module automatically converts administrative area (i.e., State/Province) abbreviations to full names on node display. I need to do this in my own custom module but can't find the ...
1
vote
0answers
87 views

Render drupal field widget in custom page [duplicate]

Possible Duplicate: Is displaying a working Field Widget Form on its own possible? I have my module called mymodule. In mymodule.module I have: function mymodule_menu() { ...
0
votes
1answer
528 views

How can I show the drop-down lists for countries/administrative areas (from Addressfield) as exposed filters in Views?

When editing the values of addresses provided by the Addressfield module, selecting certain countries (e.g., the United States) automatically populates a drop-down list of states. I would like to do ...
2
votes
3answers
344 views

Alter the results returned by “Display a summary” for the Addressfield module

When I set contextual filters in a view for Content: my field: country and Content: my field: administrative area (state/province) and select "Display a summary" for "When the filter value is not ...
2
votes
2answers
231 views

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 ...
1
vote
1answer
142 views

How do I rename Company field and remove Address2 field in a multiple value field in Addressfield module

I was able to remove the Address field with hook alter when it's single value field but don't know how to do it when it's a multiple value field. Same with renaming the fields. Thanks.
0
votes
1answer
172 views

Using the Feed Import module, I can not map for “address field”

I use the Feed Import" to import nodes. The other fields were OK, but I cannot map the address field provided by the Address Field module. I edited the feed, used "Enter field name," and set to ...
2
votes
1answer
224 views

How to add in-line styles to addressfield field?

How can I add an inline style to an addressfield field without having to modify the template files? I'm using the addressfield as a field in my user object and am trying to load the full user object ...
1
vote
0answers
316 views

How do I get addressfield geocoded on import with Feeds?

I am using Drupal 7.10 with the Feeds module 7.x-2.0-alpha4. The data I'm importing has address data that will be imported into my content type's address field, and the content type is also using the ...
3
votes
3answers
332 views

How to put a comma between city and state in addressfield display?

I'm using the addressfield module with Drupal 7.10. I want a comma after the city name when displaying the addressfield. Currently addresses display like: 123 Main St SomeCity California 90100 I ...
1
vote
4answers
427 views

Addressfield: format US state as two letter abbreviation?

Using Drupal 7 with Address Field module. How do I get the US state (i.e., the administrative_area) to show as a standard two letter abbreviation rather than the full state name? What shows now is: ...
0
votes
3answers
2k views

How to hide country in Address Field display?

Using Drupal 7 with Address Field module. How to prevent the country part of the address field from displaying on a node with an address field? For example, address is: 123 Main St Somewhere, NY ...
3
votes
2answers
493 views

Using Drupal 5 Gmap + location. What's the Drupal 7 equivalent?

I have an existing Drupal 5 site that I want to port over to Drupal 7. In my existing site, I have custom CCK types for, for example, a business type such as restaurants. I have the Location and ...
0
votes
1answer
349 views

Dynamic view listing nodes in proximity dependent on taxonomy term in url - which is not attached to the node itself

I think what I want is quite complex, but maybe someone can help me with some basics of it. In d7 I have a content type and each node uses address field and via geocoder creates the geo data for that ...
1
vote
2answers
840 views

How to programatically create an address field

I would like to use the address field module in my module. How do I create an address field and an instance for that field. I haven't found any code in the module that defines what the array ...
2
votes
2answers
254 views

How to get Search API module to index the full country and state name from Addressfield Module?

The Addressfield module stores an abbrivated name for countries and state such as US for United States and FL for Florida. The Search API indexes the these words which are not very useful when doing ...
0
votes
2answers
1k views

Drupal Commerce: how to add “Middle name” field to the “Address” pane?

Currently for "Address" pane (field named "commerce_customer_address") available two options: 1) Name (First name, Last name) 2) Name (single line) In my country middle name is very important. How ...