Address field

Use address_input to collect an address as free text in one input. It does not split the address into structured parts.

Configuration

Every address field accepts the shared field properties. See shared properties.

NameTypeRequiredDefaultDescription
typestringyesn/aSet to address_input.
namestringyesn/aField name and submission key. Use at least one letter, digit, or underscore; start with a letter.
labelstringnoNo question text shownMain question text.
subtextstringnononeSmaller text under the label.
input_labelstringnononeSmall text above the input.
requiredbooleannofalseRequire an answer before the respondent leaves the page.
visible_ifcondition arraynoAlways shownShow the field only when the condition is true.
hide_ifcondition arraynoNever hiddenHide the field when the condition is true.
placeholderstringnononeHint text inside the empty input. Supports {{field}} piping.

Validation

If the field is required, an empty answer or an answer containing only spaces blocks the page. The address is free text; its format is not checked.

Submission value

The answer is stored as a string under the field’s name key.

{ "shipping_address": "123 Main St, Springfield, IL 62701" }

Complete configuration example

{ "type": "address_input", "name": "shipping_address", "label": "Where should we ship your order?", "subtext": "Include the apartment or unit number, if applicable.", "input_label": "Shipping address", "placeholder": "123 Main St, Springfield, IL 62701", "required": true }