Addressfield Copy
Categories
Component ID
2700951
Component name
Addressfield Copy
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
This module is addon to Addressfield module.
This module adds a widget based on addressfield_standard and extends it's functionality by allowing users to copy address from the ones they have already submitted.
How to use:
- Install module.
- Select the widget
Select from addressbook or enter newfor the Addressfield. - Configure permissions.
Inspiration:
Inspiration is taken from User Addressbook module which is very useful for Drupal commerce and on checkout pages but is not available (at-least as of now) for normal content.
Permissions:
There are two permissions in the module for allowing use of the copy utility
- For normal users: Allow user to use copy from existing addresses utility from the addresses submitted by the user.
- For admins: Allow user to use copy from existing addresses utility from the addresses submitted by anyone.
It will work with any entity type and currently it supports copying from only the same entity type and field_instance.
Future goals:
- Caching and optimisation.
- Allow selection for copy using autocomplete filed (currently only dropdown is supported).
- Allow copying from different fields of type address.
- Allow copying across countries.
