Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
The common way of inserting addresses in Belgium, is to split up the streetname and street number :
Streetname Streetnumber
Postal code City
Country
I made some changes to make this possible.
Patch attached.
Comment | File | Size | Author |
---|---|---|---|
addressfield_improvements_for_belgium.patch | 948 bytes | JeroenT |
Comments
Comment #1
Peter van den Heuvel CreditAttribution: Peter van den Heuvel commentedNoted before: it's also good practice to include the option for adding a province.
Comment #2
tijsdeboeckJust came across this issue, but noticed that the patch doesn't work anymore, because of changes to plugins/format/address.inc
In case anyone needs this as well, you could always create a custom module for this, so you don't have to patch the addressfield module.
custom_module/custom_module.info
custom_module/custom_module.module
custom_module/plugins/format/addressfield-be-format.inc