Disable widget via empty results message.Empty Content Error Message Manual
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".
See the Pen Disable widget via empty results message. by Addressfinder (@addressfinder) on CodePen.
Related code examples
Manual address entry - Autocomplete only for street name, suburb and city/town. It also collects coordinates for the location. All other fields must be entered manually.#GPS #Location #Manual #Split Fields #Street
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