Select deliverable addresses only
DPID Logic RestrictRather than applying a "deliverable" filter, instead allow all addresses to be searched. Then confirm that the selected address can be delivered to by confirming the presence of a DPID attribute. If not deliverable, display an inline message to the user explaining why there is a problem.
See the Pen Select deliverable addresses only by Addressfinder (@addressfinder) on CodePen.
Related code examples
-
Address state filter - The example shows the widget enabled with a state filter. Only addresses from the filtered state(s) are returned in the search results.#Restrict #State
-
Capture AusPost DPID - The demo shows requesting and then stored the DPID in a hidden field. The DPID is the unique address identifier used by Australia Post.#DPID #Metadata #Split Fields
-
Capturing PAF metadata such as the DPID and GPS coordinates - The widget shows some of the extra data Address Finder can give you about an Address. This example shows how to get the GPS coordinates and Delivery Point ID for an Address from the Australia Post PAF dataset.#Australia Post #DPID #GPS #Metadata #PAF
-
Display alert is address may have stairs - It checks the addresses metadata for unit type and level type. If the address contains a unit or level an alert will ask to confirm whether there are stairs at the property.#Logic #Metadata
-
Exclude PO boxes from search result - The example demonstrates the widget being filtered to return only physical addresses. As expected, PO box and Private Bag address types are not returned in the search results.#PO Box #Restrict