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