Addressfinder

The best way to find exact addresses in New Zealand

  • Skip to Main Navigation
  • Skip to Footer Sitemap
  • Skip to Top
  • Pricing
  • Features
    • Autocomplete
      Search addresses and locations as you type
    • Bulk Cleansing
      Verify a database of addresses
    • Geocode Addresses
      Collect addresses and GPS coordinates together
    • Bounding Box
      Collect all addresses within a defined area
    • MORE FEATURES
  • About us
  • Case studies
  • FAQ
  • Contact
  • Blog
  • JavaScript widget docs
  • API developer docs
  • Pricing
  • Features
    • Autocomplete
      Search addresses and locations as you type
    • Bulk Cleansing
      Verify a database of addresses
    • Geocode Addresses
      Collect addresses and GPS coordinates together
    • Bounding Box
      Collect all addresses within a defined area
    • MORE FEATURES
  • More
    • Company & product
      • About Us
      • Case Studies
      • FAQ
      • Partners
      • Blog
      Contact Us
    • Integrations
      • Magento
      • WooCommerce
      • BigCommerce
      • Salesforce
      • Shopify Plus
      See all integrations
    • JavaScript widget docs
      • Integration Guide
      • Widget Code Generator
      • Widget Reference
      • Code Examples
      See all JavaScript docs
    • API developer docs
      • Address Autocomplete
      • Address Metadata
      • Address Verification
      • API Errors
      See all API docs
  • Login
  • Code Examples
  • Restrict results by metadata (Suburb)

Restrict results by metadata (Suburb)

Error Message Restrict 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.

See the Pen Restrict results by metadata (Suburb) by Addressfinder (@addressfinder) on CodePen.

Related code examples

  1. 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

  2. Address region filter - The example shows the widget enabled with a region filter. Only addresses from the filtered region are returned in the search results.
    #Region #Restrict

  3. Disable widget via empty results message. - If no address is returned when searching, a message is displayed which allows the user to disable the widget and enter their address manually. "Click here to enter it manually".
    #Empty Content #Error Message #Manual

  4. 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

  5. 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

Addressfinder logo
Addressfinder provides speedy, accurate and dependable address autocompletion at a fair price. Easily integrate our address finder software with your site to start enjoying our address verification, address autocomplete and other address services today.

Sitemap

  • Home
  • About
  • Contact
  • Blog
  • FAQ
  • Pricing
  • Case Studies
  • Status Page
  • Privacy Policy
  • Terms & Conditions
  • Features
  • Address Metadata
  • Bulk Cleansing
  • Geocode Addresses
  • Reverse Address Lookup
  • Points of Interest
  • Street, Suburb & City Search
  • Bounding Box Search
  • Postcode Finder
  • Address Verification
  • Integrations
  • WooCommerce
  • BigCommerce
  • Shopify Plus
  • Magento
  • Salesforce
  • Spiffy Stores
  • iOS
  • Ruby
  • HubSpot
  • Drupal
  • Microsoft Dynamics 365
  • Vue
  • Gravity Forms
  • React
  • API Documentation
  • Address Autocomplete
  • Address Metadata
  • Address Verification
  • API Errors
  • Another 6 APIs
  • AU APIs specs
  • International APIs
  • Widget Documentation
  • Integration Guide
  • International Integration Guide
  • Code Generator
  • Code Examples
  • Javascript Reference
Addressfinder is also available in Australia
Terms and Conditions | Privacy
Copyright © 2022 Addressfinder, New Zealand