CiviCRM Region Lookup

Development Status
Active Installs

Last updated: 2013-12-06

Works with CiviCRM 4.4. It might not be supported anymore.

Lookup the value of a given field based on the value of another field. For example, based on the postcode of a contact, on a contribution page or on an administrative page, you may want to lookup the region, district, state/province, or can be used to determine a medical clinic, closest office, etc.

Once installed, a new menu item will be added to the System Settings (Administer) in which it will be possible to specify the 'selector' that triggers a lookup (ex: postal code) and then the destination fields that should be updated with the result. You will also have to fill-in the civicrm_regionlookup database table with values that will be used in the lookup. The README.txt file has more information and examples. At the moment, while the extension is stable, it is admittedly stll slightly hard to do the initial configuration. If you find this module interesting, please post on the Extensions forum for ideas. You can also send patches on the github project page.

Screenshot (click to enlarge)