Address Field

The address field.

Properties

Title Address
Description Standard US Address with Street, City, State and Zip. Also comes with support for Google map.
Field Type address
Base Field Type control

Schema

Property Type Default Description
enum array List of specific values for this property

Options

Property Type Default Description
name string Field Name.
showMapOnLoad boolean
sort function Defines an f(a,b) sort function for the array of enumerated values [{text, value}]. This is used to sort enum and optionLabels as well as results that come back from any data sources (for select and radio controls). By default the items are sorted alphabetically. Don't apply any sorting if false.
validateAddress boolean true Enable address validation if true

Example 1

end user to modify an address and view it on a map.

{
    "schema": {
        "title": "Home Address",
        "type": "any"
    },
    "options": {
        "type": "address",
        "addressValidation": true,
        "showMapOnLoad": true
    },
    "data": {
        "street": [
            "308 Eddy Street",
            "Apartment #3"
        ],
        "city": "Ithaca",
        "state": "NY",
        "zip": "14850"
    }
}

Example 2

{% raw %} {% endraw %}