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
-
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 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
-
Manual address selector - Demonstrates how to enable/disable the autocomplete widget using a clickable link to "Enter manually".#Manual
-
Phone Verification Widget with custom Rules and Messaging. - The example shows the Phone verification widget customised to only allow mobile phone numbers registered in Australia. The messaging has also been customised to suit the rules.#Custom #Error Message #Phone