Postcodeanywhere Addressfield
Categories
Component ID
1207328
Component name
Postcodeanywhere Addressfield
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
1954
Component created
Component changed
Component body
About:
Integration of the PostcodeAnywhere service to Address Field module - for UK Addresses only.
When user selects United Kingdom he also have possibility to find his address by postcode (using external service) and prepopulate his address details.
How to configure:
To make it works there are 2 steps:
- Set the PostcodeAnywhere service credentials:
Administration -> Configuration -> Regional and language -> Postcodeanywhere settings (admin/config/regional/postcodeanywhere_addressfield) - Select the "PostcodeAnywhere" format handler in the addressfield instance.
ex. (Drupal commerce) Billing customer profile addressfield (admin/commerce/customer-profiles/types/billing/fields/commerce_customer_address) - Debugging messages and logs settings available.
How it works:
There are 2 "widgets" available:
- Search address button (used by default)
2 fields available:
- "House number or name": optional field for the given postcode;
- "Postcode": required field.
According with the search it will return 2 kind of results:
- Address filled form with the address for a valid "House number or name";
- Address form with a selector for addresses of the postcode, for the postcode search only. - Autocomplete postcode search
The autocomplete will return a list of the addresses to have selection from, if the postcode is a valid UK postcode.
After the address selection beside the filled UK address form,
there will be both the postcode autocomplete and addresses selector available on the form.
Credits:
Developed & sponsored by Commerce Guys & i-KOS.
Module initially sponsored by Velocit Projects Limited and implemented by Yuriy Gerasimov (ygerasimov)
