Disable widget via empty results message.
Empty Content Error Message ManualIf 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
-
Common Plugin Empty Results Event - While instances of non-existent addresses are infrequent, it is conceivable that an address may not be present in our system. Learn how to listen for the empty results event and apply your business logic for this scenario.#Common Plugin #Empty Content
-
Disable widget via list element - uses JQuery - The example shows a basic Addressfinder widget integration being retrieved via JQuery instead of using pure javascript. It also contains a list element that allows a user to turn off the widget and enter their address manually.#JQuery #Manual
-
Geofence by LGA - Results are limited to only displaying addresses in SA and then show a reaction depending on the LGA name. An error message if the address is not in Adelaide.#Error Message #LGA #Restrict #State
-
Learn How To Disable And Enable The Common Plugin - Learn how to disable and enable the Common Plugin. This can be handy if you wish to provide an option for your users to enter their addresses manually.#Common Plugin #Manual
-
Manual address selector - Demonstrates how to enable/disable the autocomplete widget using a clickable link to "Enter manually".#Manual