Code examples related to State
-
Autocomplete Address and Suburb-State-Postcode combination - Demonstrates configuring an autocomplete widget on the address field, as well as on the suburb field. This means that if a user is unable/unwilling to select their address for some reason, then they can still use the location autocomplete, ensuring they have a valid suburb/state/postcode combination.#Location #Postcode #State #Suburb
-
American address autocomplete with state selector - Demonstrates how the widget can update a select element containing all the American states.#International #State
-
Common Plugin code with State field mapping - This example demonstrates how to map variable state field options so that the state/region information returned from the Addressfinder service is used to populate the State select box each time an address is captured.#International #Region #State
-
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
-
State field select box - The state field is a drop down list. This code example shows how to use mappings to automatically select the state associated with the selected address.#Custom #State
-
Exclude South Australian addresses - The widget has been configured to exclude South Australian addresses from being returned in the search results. Sorry SA, this one is not for you.#Restrict #State
-
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
-
State mappings example - Ireland & New Zealand - This example shows the configuration required to make Ireland and New Zealand addresses searchable. Includes a distinct list of county/region mappings for each country.#International #Region #State
Other code examples
Australia Post Common Plugin Custom DOM DPID Email Empty Content Error Message Events GNAF GPS Geofence Hubspot International JQuery LGA Locality Location Location Logic Manual Maps Metadata Multiple Countries Multiple Widgets Open Street Map PAF PO Box Parcel Locker Phone Postcode Postcode Read only Region Restrict Shipping Split Fields State Street Styling Suburb Uppercase User Interface Verification