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.
Capture the Primary Parcel ID - The example showcases the collection of the Primary Parcel ID. This identifier can be used to join address data with property datasets which use the primary parcel ID as a unique identifier.
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.
Display rural information - The response will show whether the address is rural or not. If it is a rural address, the rural field will populate as "true". If it is not a rural address, the rural field will populate as "false".