See the Pen Address region filter by Addressfinder (@addressfinder) on CodePen.
Related code examples
-
Capturing Address Metadata - Demonstrates capturing several of our metadata attributes, and saving them into hidden fields on a form. In this example, we capture GPS coordinates, the meshblock ID, the NZ Post DPID field and also the name of the region. The example of the AddressFinder widget showcases some of the extra data that can be collected along side each Address. The addresses GPS location, meshblock ID and DPID are all collected in this example.#DPID #GPS #Meshblock #Metadata #Region
-
Physical address search (no PO boxes) - The example demonstrates the widget being filtered to return only physical addresses. PO box and Private Bag address types are excluded from the search results.#PO Box #Restrict
-
Restrict results by metadata (Suburb) - Monitor the Suburb of the selected address. Allow the entry of addresses in the suburbs of Newtown or Te Aro. Addresses in other suburbs will display an error message.#Error Message #Restrict #Suburb
-
Restrict results by metadata (TA) - Widget configured to watch the Territorial Authority of the selected address and return either the selected address (if the address is in allowed TA/s) or an error message.#Error Message #Metadata #Restrict
-
Restriction by Geofence - The code produces a pop-up which notifies the user whether or not they are in the designated location.#Geofence #Logic #Restrict