Address Providers are one of the provided integrations with Formie, and are used specifically for the Address field.
Address Providers have settings only at the plugin level, where you should enter API settings, in order to connect to the third-party provider. The specific provider can then be selected on individual Address fields.
For the address fields, these providers will render a single input for the user to type into. It will then suggest geocoded addresses in a structured format. If an address matches, it will populate all additional address fields with the individual parts of the address.
For instance, you might type "1 Infinite Loop", resolving to Apple's HQ. Formie will then populate the following fields with content:
1 Infinite Loop
Cupertino
95014
CA
United States
It should also be mentioned that you don't even have to have all these separate fields enabled. It's up to you and your needs!
Formie provides 3 address providers.
Use Google Places Autocomplete (opens new window) to use their service to suggest addresses.
You can also provide Options (opens new window) in the table field. The value
content must be valid JSON, so ensure you encase strings in "
characters. For example, the below might restrict suggested addresses to Australia.
Option | Value |
---|---|
componentRestrictions | { "country": "au" } |
Use Algolia Places (opens new window) to use their service to suggest addresses.
You can also provide Reconfigurable Options (opens new window) in the table field. The value
content must be valid JSON, so ensure you encase strings in "
characters. For example, the below might restrict suggested addresses to Australia.
Option | Value |
---|---|
countries | ["AU"] |
Use Address Finder (opens new window) to use their service to suggest addresses. Address Finder is specifically for Australian and New Zealand addresses, and handles their addresses better than other options.
You can also provide Widget Options (opens new window) in the table field. The value
content must be valid JSON, so ensure you encase strings in "
characters. For example, the below might return the location (street, suburb and city) results.
Option | Value |
---|---|
show_locations | true |
Use Loqate (opens new window) to use their service to suggest addresses.
You can also provide Widget Options (opens new window) in the table field. The value
content must be valid JSON, so ensure you encase strings in "
characters. For example, the below might return the location (street, suburb and city) results.
Option | Value |
---|---|
show_locations | true |