Shipping labels, event registrations, and checkout forms all need addresses — but not every form needs the same address parts. A US-only delivery form can hide the country field and use a state dropdown. An international contact form needs country selection and flexible postal labels. A simple RSVP might only need city and region.
Auto Form Builder includes a dedicated Address field with address type presets, toggleable components, country defaults, validation levels, and layout options — so you can tailor every part of the address without writing custom code.
Last updated: Last update 14 July
An address field is not a single text box. It is a group of related inputs — each one an address component — that together capture a complete location. Auto Form Builder supports these components:
You choose which components appear on your form. Address Line 1 and City are always shown; every other component is optional.
The fastest way to customize address components is to pick an Address Type Preset in field settings. Each preset configures visibility, labels, country behavior, and validation for a specific region:
Works with addresses from any country worldwide. Shows country selection, uses generic labels like “State/Province/Region” and “ZIP/Postal Code,” and applies lenient validation to accept real-world international variations.
Optimized for US addresses. Sets the default country to US, hides the country field, enables a state dropdown, labels the region field “State” and postal field “ZIP Code,” and applies strict ZIP validation.
Optimized for Canadian addresses. Defaults to Canada, hides the country field, uses a province/territory dropdown, labels postal as “Postal Code,” and validates Canadian postal code format.
Optimized for UK addresses. Defaults to GB, hides the country field, uses a county/country dropdown, labels postal as “Postcode,” and validates UK postcode format.
Optimized for EU member countries. Shows and requires country selection, restricts the country list to EU nations, and uses lenient validation due to varied European postal systems.
Starts with neutral defaults and exposes all advanced settings immediately — use this when you want full manual control over every component.
After selecting a preset, click Show Advanced Settings on any non-Custom preset to fine-tune individual components without starting from scratch.
Under Address Components in advanced settings, toggle each part on or off:
Enable for apartment numbers, suite numbers, unit numbers, or building names. Disable for forms where a single street line is enough — such as a simple local event signup.
Enable when you need regional data for shipping, tax, or routing. Disable for city-only forms or when region is not relevant to your workflow.
With the United States, Canada, or United Kingdom preset, the region field renders as a dropdown of states, provinces, or counties automatically.
Enable for delivery and billing forms. With strict validation on country-specific presets, postal codes are checked against country patterns (for example, US ZIP or UK postcode formats).
Enable for international audiences. Disable visually using Hide Country Field when you set a default country and only serve one region — common for US-only or UK-only forms.
Enable for B2B forms, invoice requests, or corporate registrations where the submitter’s organization name is required alongside the physical address.
Pre-select a country in the dropdown so visitors in a known region see the correct default. Leave blank to require visitors to choose their country — best for truly global forms.
When enabled, the country dropdown is hidden on the frontend and the default country is used automatically. This requires a default country to be set. Ideal for domestic-only forms where showing a country selector adds unnecessary friction.
United States, Canada, and United Kingdom presets enable this automatically with their respective default countries.
Choose how strictly postal codes and formatting are enforced:
On the frontend, strict presets apply pattern validation to postal fields — for example, US ZIP codes (12345 or 12345-6789), Canadian postal codes (A1A 1A1), and UK postcodes (SW1A 1AA).
Under Address Mode, choose:
In structured mode, choose Field Layout:
City and region render side by side in a row, as do postal code and country when both are visible.
Drag the Address field from the Advanced category into your form.
Open field settings and choose the preset that matches your audience — International, United States, Canada, United Kingdom, European Union, or Custom.
Click Show Advanced Settings (or use the Custom preset to see all options immediately).
Under Which address parts to include?, enable or disable Address Line 2, State/Province/Region, ZIP/Postal Code, Country, and Company/Organization.
Set a default country and optionally hide the country field for domestic-only forms.
Choose lenient or strict validation, structured or one-line mode, and stacked or inline layout.
Set the field label, help text, placeholder, width, and whether the entire address field is required. Use conditional logic to show or hide the address field based on other answers.
Preview the form, submit a test entry, and confirm each component appears correctly in the submissions inbox with individual values stored separately.
Enable Browser Autocomplete to add HTML autocomplete attributes so browsers can suggest previously entered addresses — speeding up repeat submissions for logged-in or returning visitors.
Region and postal labels update based on the selected country and preset — for example, “State” for US addresses, “Province/Territory” for Canada, and “Postcode” for the UK. International presets use neutral labels that work across regions.
Show the address field only when relevant — such as when a visitor selects “Ship to my address” instead of “Pick up in store” — using conditional logic in base field settings with AND/OR rule groups.
Pass a fixed address value without user input using the Hidden Field option — useful for internal or pre-filled campaign forms.
Each address component is stored individually in submission records — organization, address lines, city, region, postal code, and country — along with formatted single-line and multi-line versions for display and export.
Set the address field to full, half, one-third, or two-thirds width. Add a custom CSS class for theme-specific styling through the base field settings.
You can toggle Address Line 2, State/Province/Region, ZIP/Postal Code, Country, and Company/Organization. Address Line 1 and City are always included. Presets configure sensible defaults for each region.
International works worldwide with lenient validation. United States, Canada, and United Kingdom presets hide the country field, set a default country, use region dropdowns, and apply strict postal validation. European Union restricts country selection to EU members. Custom gives you full manual control.
Yes. Set a default country and enable Hide Country Field in Country Settings. US, Canada, and UK presets do this automatically.
Structured mode shows separate inputs for each address component — best for shipping and structured data. One-line mode uses a single textarea and parses the address into components on the server — best for simple contact forms.
Yes. Each component — organization, address lines, city, region, postal code, and country — is stored individually in submission records, along with formatted single-line and multi-line address versions for display and export.
Yes. The Address field with presets, component toggles, country settings, validation levels, layout modes, and structured storage is included free in Auto Form Builder from WordPress.org.
Add an Address field, pick the preset that fits your audience, toggle the components you need, and collect clean structured address data — whether your form serves one country or the whole world.
Download: Plugin last updated: Last update 14 July Auto Form Builder lets you create multi-step forms, calculators, and lead capture forms in WordPress, then embed them on any site with a single line of code.How to Customize Address Field Components in WordPress Forms
What Are Address Field Components?
Start with an Address Type Preset
International
United States
Canada
United Kingdom
European Union
Custom
Customize Which Address Parts to Include
Address Line 2
State/Province/Region
ZIP/Postal Code
Country
Company/Organization
Country Settings
Default Country
Hide Country Field
Validation Strictness
Layout and Display Modes
Structured vs One-line
Stacked vs Inline layout
Step-by-Step: Customize Address Components
Step 1: Add an Address field
Step 2: Select an Address Type Preset
Step 3: Open advanced settings
Step 4: Toggle address components
Step 5: Configure country behavior
Step 6: Set validation and layout
Step 7: Adjust base field settings
Step 8: Test and preview
Recommended Component Setups by Use Case
US shipping form
International contact form
EU business registration
Simple local event RSVP
Quick “mailing address” on a contact form
Additional Address Field Options
Browser autocomplete
Dynamic labels
Conditional logic
Hidden field mode
Structured submission storage
Field width and styling
Common Mistakes to Avoid
Frequently Asked Questions
Which address components can I customize in Auto Form Builder?
What is the difference between address presets?
Can I hide the country field on domestic forms?
What is structured vs one-line address mode?
Are address components stored separately in submissions?
Is the Address field included in the free plugin?
Get Started with Auto Form Builder
Auto Form Builder on WordPress.org
Build forms that embed anywhere — free
Table of Contents
Table of Contents
Learn how to bulk delete form submissions in WordPress. Remove multiple entries at once to clean up spam, test data, and old submissions efficiently.
Master WordPress form submission management. Learn to view, filter, search, star, export, and organize form entries like a pro with this complete guide.
Learn how to search and find form submissions in WordPress. Filter by date, form, status, and search across all submission data.
Comparing Auto Form Builder and Contact Form 7 for WordPress. See which form plugin offers better ease of use, features, and value for your website.
Learn how to view, organize, search, filter, and export your WordPress form submissions. Complete guide to submission management.
Learn why storing form data on your own server helps with GDPR compliance. Choose form plugins that keep your user data local and under your control.
Learn how to filter WordPress form submissions by date. Find entries from specific time periods quickly using date range filters.
Should you use one field or multiple fields for names? Learn the pros and cons of each approach and how to set up name fields in WordPress.
Learn how to bulk edit, delete, and manage form submissions in WordPress. Save time with mass actions on multiple entries at once.
Learn how to restrict date fields to future dates only for event registration forms. Block past dates and set booking windows in WordPress.
Learn how to create quantity fields in WordPress forms. Collect numbers for guests, items, tickets, and more with proper validation and limits.
Learn how to star and flag important form submissions in WordPress. Prioritize leads, mark urgent requests, and organize your form entries effectively.