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

0
votes
0answers
31 views
+50

Card declines with authorize.net when more than 1 numeric value in address field

I can't find any related issues reported in the commerce_authnet module, so I must be doing something wrong in the configuration of my site. At least once a week, sometimes a dozen times a week, a ...
0
votes
1answer
14 views

Display google map based on coordinates

I've a node with field that store coordinates (in a field with type Geofield). Now I want to display google map block on page based on coordinates in that field. How should I do it? IS there any ...
0
votes
0answers
13 views

Additional fields to autofilled Commerce Addressbook

So far I've my site running the Commerce module and placing orders are fine. The autofill function is also working during checkout. The problem is, in my country a tax id number has to be provided. ...
0
votes
0answers
25 views

Address Field special format handler

i need to modify users payment and shipping address format to enable user select a city via drop list, so i installed Address Field Estonian format handler, it works perfect before last drupal core ...
0
votes
0answers
19 views

commerce_customer_profile_copy_refresh() ignores hook_form_alter() and renders default 'customer_profile_shipping' form

I'm having some issues with the commerce_customer_profile form on the first checkout pane of the Drupal Commerce checkout process. Specifically when the commerce_customer_profile_copy checkbox ...
0
votes
1answer
39 views

How to get Views Selective Filters working with Country Field from Address Field Module?

When I expose the country field from the address-field module as a selective exposed filter (to only show countries that are in the results of the view), the "selection" works, which means only the ...
0
votes
0answers
22 views

How can I change adressfield items order in node display

I'm using Address Field and Address Field Phone modules, the country is dispalyed after the phone number. So how I can change the addressfield items order?
2
votes
1answer
73 views

Address field - Select city from dropdown list

I am using Address field module to populate address. A requirement needs to limit cities to a particular set, and also countries to particular set too. so I would like to present a set of cities in ...
0
votes
1answer
45 views

How to get user current location and display node attached with current location?

I am developing a deal based site in drupal 7. I am using addressfield, geocoder, leaflet and views module to display deals node on leaflet map. I am able to attach exposed filter "city" so that use ...
0
votes
0answers
22 views

Problem when using addressfield_vn

when i used addressfield_vn module in order to customize the order and billing address for the customers in an ecommerce site using drupal commerce and when the client review his order the address ...
0
votes
1answer
28 views

How can i change the display of government field in drupal commerce shipping address?

I need to change the display of the order/shipping address of drupal commerce to render the city in a select list instead of writing the city, i need to upload in the database the list of the cites ...
0
votes
0answers
16 views

import into user address fields using user_import module

Im using user import module, Inside user fields I have a "Postal Address" field (I think it comes from location module ) this is a small screenchot how it look the setting of that field: So it ...
0
votes
0answers
25 views

Use Address tokens in view

Within a view display, I am trying to display only the first name of a customer. The information is collected via a standard addressfield form. Within the available "Replacement Patterns" none of ...
1
vote
0answers
26 views

Addressfield autocomplete language independent or restrict user language when storing information

I've got address field autocomplete for storing user city only but when entering information it stores them language specific e.g. if ones enter София, България it's not the same as Sofia, ...
1
vote
1answer
31 views

How do I programatically add address to commerce order

I've a subscribe form on my website which i've got working(ish). So far i've got it asking user to input name, address, email, password and the subscription level + starter kit (from a list of ...
0
votes
0answers
19 views

Addressfield cities display into two words with Facets modules

I'm having a problem with Address Field and Facets module. The problem cities are separate for every time there is a space. It should said "Las Vegas" instead of "las" and "vegas". A solution to ...
0
votes
0answers
35 views

Geocoder loses geocoding data when calling profile2_save on existing profile data

I have spent a good portion of the day trying to figure out why I'm losing previously geocoded data in a profile2 object. I have a ctools multi-step form for managing data stored in a profile2 form. I ...
0
votes
0answers
130 views

Hierarchical select list using AJAX on Address Field form not updating

I'm using a custom module with an Address Field plugin to pull Address Field fields from a web service. The first bit is working (pulling a towns list) but I want to have a hierarchical select list ...
0
votes
2answers
62 views

Using webservice to popolute/search Address Field fields

I'm busy developing a custom shipping module and want to have an auto-complete/select list of towns but the available data for the list is from a webservice (the reason for this is so that the ...
0
votes
1answer
44 views

Collecting user and node locations seperate or combined?

In my drupal site i like to have the location of users stored as well as the location of nodes. To store these locations i am using Geofield in combination with adressfield. Adressfield collects the ...
0
votes
1answer
66 views

How can i add our own field in Ubercart billing address?

I have used Ubercart in my project. I would like to add my own one field in Ubercart Address field. How can I? Does any one had same experience?
0
votes
0answers
90 views

Get the form elements dynamically for addressfield

I need to build address fields for a client, depending on the country. I wanted to use addressfield, since it has all the code to generate these forms for node edits. The code I'm using is: // get ...
1
vote
1answer
109 views

Using EntityFieldQuery with Address Field

I have a custom content type with a postal_address field provided by the module addressfield. postal_address fields are one field in the custom content type. This one field is comprised of many ...
3
votes
2answers
562 views

Save user fields in commerce profile

I add some fields to default user fields,like phone,address,city,... , I want If user edit or filled up his user information in user/uid/edit when submit ,if there is not any commerce shipping ...
0
votes
2answers
346 views

How to dynamically Prepopulate / Prefill addressfields

I have an single entityform of type 'letter generator' this contains two addressfields: 'To' addressfield 'From' addressfield I would like to prepopulate / prefill these addresses with content ...
0
votes
1answer
81 views

Commerce Dynamic Address Field Issue

I've got a problem with the dynamic address field. Maybe it is a problem with the feed-importer, not quite sure about that. I've imported customers to my database, in the view, name and address are ...
0
votes
1answer
372 views

Prepopulating county/state field (ajax driven field)

Before I describe my problem, just going to mention that I tried Commerce Addressbook and Commerce Extra (address populate) modules but the first one is not suitable in general for my project (because ...
0
votes
1answer
147 views

Add Additional Fields to Address Field Module

How can I add additional fields to the Address Field module's Postal Address content type field? In this specific case, I would like to add county. The default fields for the United States are:
0
votes
0answers
316 views

PHP Fatal error failed opening required file

I am trying to build a site with Organic Groups (a site like myfamily.com, with the groups being individual families), and I am getting a persistent PHP Fatal error PHP Fatal error: require_once(): ...
2
votes
0answers
127 views

Can't see addressfield on custom form

I created a module that displays a very simple form: name of organization, address and contact info. I've been able to add all components to the form with the exception of the address. I installed the ...
2
votes
2answers
279 views

Use views to prepopulate fields

I have a site that generates letters to be sent to schools. The visitor arrives at the front page where they are presented with a map (leaflet map) with all the local schools marked on it. They then ...
0
votes
1answer
259 views

Programmatically Change Administrative Area in AddressField

I have some external data that I have introduced to Drupal for a users address (not in an address field). I am setting it so that when a user loads the checkout page in commerce their info is ...
0
votes
2answers
305 views

addressfield module - remove addresses with only a country

For a site I am working on I am using the address field. Each node can have multiple addresses and at least one is required. All the addresses are in the US so I set the default to the US. When the ...
0
votes
1answer
47 views

How to change an address field that says “There is data for this field in the database. The field settings can no longer be changed.”?

How to change an address field that says "There is data for this field in the database. The field settings can no longer be changed."? I want to add a "Company" field as part of the address. I don't ...
1
vote
0answers
246 views

Difference between hook_form_alter and hook_field_attach_form

I was attempting to add default values to the addressfield field type (on the Drupal Commerce billing pane), and originally tried doing this in hook_form_alter and it did not work. I then found the ...
0
votes
1answer
556 views

how to use hook_field_widget_form

I am trying to understand how the addressfield module is using hook_field_widget_form. When is it called and where are its parameters coming from? When I do a printout of its $instance parameter, I ...
0
votes
1answer
153 views

How replace city text box in shipping address with select component in drupal 7 commerce

I want to know, is there any way to change city textbox in shipping address (in Drupal commerce 7) to select component? in normal mode, user have to write the name of city but I want to change it to ...
0
votes
1answer
397 views

Migrate addressfield: Call to a member function import() on a non-object in migrate/includes/migration.inc on line 696

also posted to Migrate issue queue as a support request I am importing users and data from csv with a Migrate Group. The initial user creation and some additional data in other tables in working ...
1
vote
1answer
349 views

Send Billing Information from Address Field to PayPal site using WPS

Referring to the solution here posted by Fnik, I'm trying to implement it on my own custom module. But I thing our two sites are configured differently, and since I'm not too familiar with php, I ...
5
votes
1answer
601 views

How do I populate an address field in php?

I want to import data from a external source and so am writing a module that creates content by populating the fields of node bundles in code. I followed this guide which is great. So I am working ...
0
votes
1answer
75 views

How should I structure a node migration that has three locations?

I have a situation where I need to migrate a D6 node that has three location fields. The example code shown in the drupal module documentation ( https://drupal.org/node/2018113 ) isn't working. I ...
1
vote
0answers
785 views

How to make address1 field and zip code non required with Address Field module

I'm using Drupal 7 and the Address Field module I want to make it a required field but only the Country and City values. I want to leave the zip code and Address as optional. I don't find a way to ...
0
votes
2answers
645 views

Drupal7: Addressfield Module: Add State (for Germany) and Drop Down Menu

How do you change the default fields in the addressfield Module for a given country? For Germany you have , while for USA you get , including a nice drop down menu with all 51 states. I want to ...
-1
votes
1answer
302 views

commerce_customer_address

I am using Commerce Kirckstart installation. I would like to change a field in commerce_customer_address. I only want a new field, like telephone and I would like to remove State. Some one knows how ...
0
votes
1answer
165 views

how to update a field schema

I am trying to add a field (middle name) into the field_schema of the contrib addressfield module (I initially didn't want to hack it, but was unsucessful in adding a field in from my custom module.). ...
0
votes
0answers
13 views

Address field form in external module [duplicate]

I need to create a custom form and in it there is an address but I can't figure how to use the address field form. There is a way to use the address structure defined in the Address field module?
1
vote
1answer
432 views

Migrate Module and AddressField Locality/City Lookup in PrepareRow Fails

I'm running a migration to move volunteers from a csv file to drupal. I have written the following code. <?php /** * @file * Migration for Volunteer File */ ...
0
votes
1answer
476 views

Make commerce billing information readonly

I want to prepopulate commerce billing address in checkout process and make all fields in the address field readonly. I've tried the next code: $form['customer_profile_billing']['#disabled'] = TRUE; ...
1
vote
2answers
281 views

Expand Addressfield Components in Views

Situation : I have added few more fields in user registration form using account settings->manage fields. The type of the field is cck address field. I created a new view as json document, and I ...
-1
votes
1answer
259 views

Empty default value in a addressfield field

I have created a content type with a addressfield field but in the configuration field form It doesn't let me set an empty default value. How can I fix it?