Common Plugin code with State field mapping
International Region StateThis 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.
See the Pen Common Plugin code with State field mapping by Addressfinder (@addressfinder) on CodePen.
Related code examples
-
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
-
American address autocomplete with state selector - Demonstrates how the widget can update a select element containing all the American states.#International #State
-
Address region filter - The example shows the widget enabled with a region filter. Only addresses from the filtered region are returned in the search results.#Region #Restrict
-
American address autocomplete - This example demonstrates searching for an address within the USA.#International
-
Canadian Map Demo - Search for a Canadian address and display the position on a map. Use the GPS coordinates that are returned with our address metadata.#International #Maps #Open Street Map