Collects an address, including street, state and postal code.

Unlike most answers, an address answer value is stored as an object, since it contains multiple parts.

"my_address": {
"address_1": "213 Main St",
"address_2": "Apt 17",
"city": "Kansas City",
"state": "MO",
"postal_code": "64116"

If you would like to access one of the parts of the address in a string template, you may use the get template function.

Given the above example, a template like:

Great, your postal code is {{my_address | get 'postal_code'}}.

Would render:

Great, your postal code is 64116

International addresses

If you enable International?, then responders will be allowed to choose the country of their address. The saved address will contain the country that was selected.

"my_international_address": {
"address_1": "Strahovské nádvoří 301",
"city": "Praha",
"postal_code": "118 00"
"country": "Czech Republic"


When international addresses are enabled, you can set a default country using Default country.

Autocomplete using Google Places API

Addresses are sometimes tedious to type, so you can use the Google Places API to auto-complete addresses, by providing your API key. If you are embedding your Formsort flow, make sure to add (which is where your flow will be hosted) to the list of allowed referrers in the Google API console.

When enabled, the address answer will also contain a raw field which stores the raw string that was entered by the user.

Validating form addresses with USPS

This feature is only available for addresses in the United States.

When Validate addresses (US only)? is enabled, USPS web tools will be used to verify that the address is a valid US mailing address, once you provide your API credentials for USPS.