Address Field

Complete Address Collection for WordPress Forms

Collect full addresses with precision and flexibility. From international addresses to country-specific formats with smart presets, state dropdowns, postal validation, and autocomplete – the Address field provides comprehensive location collection with optimized layouts and worldwide support.

Address Field

Professional Address Collection with Global Support

The Address field in Auto Form Builder Pro delivers intelligent address collection for any location worldwide. Choose from optimized presets (International, US, Canada) or build custom configurations, enable/disable specific components (street, city, state, postal, country), use state/province dropdowns for accurate data, and provide two layout modes. Perfect for shipping forms, registrations, service areas, billing addresses, and any form requiring location information.

Perfect for:

  • Shipping and delivery addresses
  • Billing address collection
  • Service area information
  • Customer location data
  • Registration addresses
  • Contact information forms
  • Multi-location businesses

Powerful Features for Every Use Case

🌍 Smart Country Presets

3 Optimized Presets + Custom:

  • International – Standard address fields for worldwide use. Includes all components with country selector and flexible postal code validation.
  • United States – Optimized for US addresses with 50-state dropdown, ZIP code validation, and familiar field labels (State, ZIP Code).
  • Canada – Tailored for Canadian addresses with province/territory dropdown, postal code format validation (A1A 1A1), and proper labeling.
  • Custom – Full control over every component. Enable/disable any field, customize labels, choose validation rules, and create perfect address formats for specific needs.

Why Presets Matter:

  • Instant setup for common regions
  • Proper field labels per country
  • Accurate validation rules
  • State/province dropdowns included
  • Postal code format checking

Easy Switching:
Change presets anytime during form building. Each preset automatically configures all settings appropriately.

📝 Flexible Address Components

Choose Which Fields to Display:

Address Line 1 – Street address (always shown, required)
Primary street address with number and name.

Address Line 2 – Apartment, suite, unit (optional)
Additional address details like “Apt 4B” or “Suite 200”.

City – City name (always shown, required)
Town, city, or locality name.

State/Province/Region – State, province, region (optional)
Administrative division – shows as dropdown for US/Canada, text input for international.

ZIP/Postal Code – Postal code (optional)
ZIP codes, postal codes, or postcodes with country-specific validation.

Country – Country selection (optional)
Dropdown with 195+ countries. Hide for single-country forms.

Organization – Company name (optional)
Business or organization name for commercial addresses.

Mix & Match:
Enable only the components you need. Collect just street and city, or full international addresses with all details.

🎯 State/Province Dropdowns

Accurate Region Selection:

US States Dropdown:
All 50 states plus DC, territories, and military addresses. Users select from dropdown instead of typing, ensuring consistent data.

Canadian Provinces:
All 10 provinces and 3 territories with proper abbreviations. Dropdown prevents spelling errors and variations.

Why Use Dropdowns:

  • Consistent data format (abbreviations)
  • No spelling mistakes
  • Easier data processing
  • Professional appearance
  • Better user experience

Text Input Alternative:
For international addresses or custom regions, the field displays as a text input accepting any region name.

📏 Two Address Modes

Structured Mode (Default):
Multiple separate input fields for each address component. Users fill street, city, state, postal code in dedicated fields.

Benefits:

  • Clear, familiar layout
  • Individual field validation
  • Easy to complete
  • Browser autocomplete works perfectly
  • Professional appearance

One-Line Mode:
Single text input where users type full address. System parses address server-side into components.

Benefits:

  • Fastest entry method
  • Copy-paste friendly
  • Minimal form footprint
  • Good for simple addresses

Use Cases:
Structured: E-commerce, shipping, official forms
One-line: Quick contact forms, casual submissions

🎨 Two Layout Styles

Stacked Layout (Vertical):
Address fields appear one per line, stacked vertically. Most traditional and readable layout.

Best For:

  • Mobile-first forms
  • Long forms with many fields
  • Maximum readability
  • Touch-friendly spacing

Inline Layout (Horizontal):
Address fields arranged horizontally with City, State, and ZIP on same row. Compact professional appearance.

Best For:

  • Desktop-optimized forms
  • Compact form designs
  • Professional applications
  • Multi-column layouts

Responsive Behavior:
Both layouts automatically adapt to mobile screens, stacking when needed for optimal mobile experience.

🌐 195+ Countries Supported

Comprehensive Country List:
Complete dropdown with every country worldwide – from Afghanistan to Zimbabwe, including all territories and regions.

Country Features:

  • Full country names
  • ISO country codes
  • Alphabetically sorted
  • Searchable dropdown
  • Default country setting

Hide Country Field:
For single-country businesses, hide country field and set default country. Users never see it, but data includes country automatically.

Dynamic Label Updates:
When country changes, field labels update automatically (State vs Province vs Region, ZIP vs Postal Code).

✅ Smart Postal Code Validation

Country-Specific Validation:

US ZIP Codes:
Validates 5-digit (12345) or 9-digit (12345-6789) formats. Ensures proper US ZIP code structure.

Canadian Postal Codes:
Validates A1A 1A1 format with proper letter-number-letter pattern and spacing.

UK Postcodes:
Validates various UK postcode formats (SW1A 1AA, M1 1AA, etc.) with proper structure.

International:
Flexible validation allowing various postal code formats worldwide.

Clear Error Messages:
Users see specific validation errors like “Please enter valid ZIP code (12345 or 12345-6789)” immediately.

🔄 Browser Autocomplete Integration

Native Browser Support:
Address fields include proper HTML5 autocomplete attributes. Browsers suggest saved addresses automatically.

Autocomplete Features:

  • Street address suggestions
  • City auto-fill
  • State/province completion
  • Postal code suggestions
  • Country selection
  • Organization names

Privacy-Friendly:
Users control whether browsers save addresses. Form respects browser privacy settings.

Faster Completion:
Returning users fill addresses in seconds by selecting from saved addresses.

🔀 Conditional Logic

Dynamic Address Display:
Show or hide address fields based on other form values. Display shipping address only when needed, reveal billing address conditionally.

Advanced Logic Rules:

  • AND Logic – All conditions must be met
  • OR Logic – Any condition can trigger the action
  • 8 Operators – Equals, Not equals, Greater than, Less than, Contains, Is empty, and more

Use Cases:

  • Show “Shipping Address” only when “Same as billing” checkbox is unchecked
  • Display “Business Address” when customer type equals “Business”
  • Reveal “Secondary Address” when service type requires multiple locations
  • Hide “International Address” when country equals home country
Conditional Logic

🎯 Enhanced User Experience

Smart Features Built-In:

  • Required Field Indicators – Asterisks on mandatory fields
  • Field-Level Validation – Instant feedback per component
  • Placeholder Text – Helpful hints in each field
  • Tab Navigation – Keyboard-friendly field progression
  • Custom CSS Classes – Apply styling to address container
  • Accessibility Support – ARIA labels, screen reader compatible
  • Mobile Optimized – Touch-friendly with proper keyboards
  • Copy-Paste Support – Full addresses parse automatically (one-line mode)
  • Help Text – Add descriptions for address requirements
  • Label Customization – Change any field label text

Simple Setup in 3 Steps

Get your Address Field ready in minutes

1
🎯

Add Address Field

Drag and drop the Address field from the Advanced Fields section into your form.

2
⚙️

Choose Preset

Select preset (International, United States, Canada, or Custom) based on your primary audience location.

3

Configure Components

Enable/disable specific address parts (Address Line 2, Country, Organization), choose layout style (stacked or inline), and set default country if needed.

🎉 That's it! Your address field is ready with smart validation and global support.

Real-World Applications

Product Selection

E-Commerce & Shipping

* Shipping address collection
* Billing address capture
* Multiple address management
* Delivery location data

Educational Registration

Education Applications

* Student residence information
* Parent address collection
* Campus address data
* Alumni contact addresses

Healthcare

Healthcare & Services

* Patient address information
* Service location data
* Home visit addresses
* Delivery addresses

Government & Legal

Government & Legal

* Official address collection
* Residency verification
* Property address data
* Legal document submissions

Application Forms

Customer Registration

* Account registration addresses
* Profile location data
* Contact address information
* Mailing address collection

Professional Applications

Business Registration

* Company headquarters address
* Branch location information
* Office address collection
* Business licensing forms

Complete Field Options

Basic Configuration

  • Field Label – The title shown above the address field
  • Description/Help Text – Additional guidance about address requirements
  • Required Field – Make address entry mandatory
  • Placeholder – Hints for individual address components

Address Preset

  • Choose optimized configuration:
  • International – Standard fields for worldwide use
  • United States – US-optimized with state dropdown
  • Canada – Canada-optimized with province dropdown
  • Custom – Full control over all settings

Address Components (Custom preset or Advanced settings)
Which address parts to include:

  • Address Line 1 – Street address (always shown, required)
  • Address Line 2 – Apt/Suite/Unit (optional)
  • City – City name (always shown, required)
  • State/Province/Region – Administrative division (optional)
  • ZIP/Postal Code – Postal code (optional)
  • Country – Country selection (optional)
  • Organization – Company/organization name (optional)

State/Province Options
Use State Dropdown – Show dropdown instead of text input (US/Canada presets enable automatically)

Country Settings

  • Show Country Field – Display country selector
  • Default Country – Pre-select specific country
  • Allowed Countries – Limit to specific countries (leave empty for all 195+)

Address Mode

  • Structured – Multiple input fields (recommended)
  • One-line – Single text input with parsing

Field Layout (Structured mode only)

  • Stacked – Vertical layout, one field per line
  • Inline – Horizontal layout, compact design

Label Customization

  • Customize text for each component:
  • Address Line 1 label (default: “Address Line 1”)
  • Address Line 2 label (default: “Address Line 2”)
  • City label (default: “City”)
  • State label (default: “State” or “Province”)
  • Postal label (default: “ZIP Code” or “Postal Code”)
  • Country label (default: “Country”)
  • Organization label (default: “Company/Organization”)

Validation Settings

  • Postal Code Validation – Country-specific format checking
  • Required Components – Mark individual fields as mandatory
  • Browser Autocomplete – Enable native browser address suggestions

Conditional Logic

  • Enable Conditional Logic – Show/hide based on conditions
  • Logic Type
  • All conditions must be met (AND)
  • Any condition can be met (OR)
  • Condition Rules
  • Show/Hide – Action to take
  • Field – Which field to check
  • Operator – Equals, Not equals, Contains, Greater than, Less than, Is empty, Is not empty
  • Value – Comparison value
  • Multiple Conditions – Add unlimited rules

Advanced Options

  • Custom CSS Classes – Apply custom styling to address container
  • Accessibility Attributes – ARIA labels for screen readers
  • Field Order – Reorder address components (custom preset)
Auto Form Builder - Demo

Why Choose Our Address Field?

Smart Presets – International, US, Canada optimized configurations
Flexible Components – Enable/disable any address part
State Dropdowns – 50 US states, 13 Canadian provinces/territories
Global Support – 195+ countries with proper labels
Postal Validation – Country-specific format checking
Two Modes – Structured fields or one-line entry
Two Layouts – Stacked or inline arrangements
Autocomplete Ready – Browser address suggestions work perfectly
Fully Integrated – Works seamlessly with all form features

Frequently Asked Questions

Q: What’s the difference between the presets?

International works worldwide with a country selector. US preset optimizes for American addresses with a 50-state dropdown and ZIP validation. Canada preset includes province dropdown and Canadian postal code rules. Custom gives full control.

Q: Can I hide the country field?

Yes. For single-country use, disable “Show Country” and choose a default. Users don’t see it, but the submitted data still includes the country automatically.

Q: How do state dropdowns work?

US and Canada presets provide a full dropdown of states or provinces. International mode uses standard text inputs so users can enter region names freely.

Q: What is one-line mode?

It replaces all address components with one text field where users enter the full address. The system then parses it into individual parts server-side.

Q: Can I make some fields optional?

Yes. In custom or advanced settings, choose which fields are required or optional. Address Line 1 and City always remain required.

Q: How does postal code validation work?

The system validates formats based on the selected country. US ZIP codes require 5 or 9 digits, Canadian codes follow A1A 1A1 format, and UK postcodes follow UK standards.

Q: Can I customize field labels?

Yes. Rename labels to match your region — for example, change ZIP Code to Postcode or State to Province.

Q: What countries are supported?

All 195+ countries, including territories and regions, complete with accurate names and ISO codes.

Q: Does browser autocomplete work?

Yes. Proper autocomplete attributes are included so browsers can suggest saved addresses automatically.

Q: Can I collect multiple addresses?

Yes. Add multiple address fields such as Billing and Shipping. Use conditional logic to show or hide them when needed.

Q: How do I change from stacked to inline layout?

Select “Field Layout” and switch to Inline for horizontal placement or Stacked for vertical. Both adapt to mobile devices.

Q: Can I use this for international business?

Yes. International preset supports all countries, and validation adjusts automatically based on the selected country.

Ready to Collect Addresses Professionally?

Start building powerful WordPress forms with smart address collection and worldwide support.