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
-
Common Plugin code with State field mapping - This example demonstrates how to map variable state field options so that the state/region information returned from the Addressfinder service is used to populate the State select box each time an address is captured.#International #Region #State
-
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