On this page
What this issue is
Many forms copy a US layout: a State dropdown listing only US states, and a ZIP code field that must be five digits. That works for US visitors. Elsewhere it breaks. Ireland and the UK have no states, many countries have no postal code at all, and other countries use provinces, counties, prefectures or regions with different formats.
Why it costs you leads or sales
A visitor who cannot get past a required field leaves. Others type a made-up state or ZIP, which causes failed address checks, wrong shipping labels, delivery problems and payment fraud flags. Either way you lose orders or create support work.
Example: illustrative numbers only. A form built for US addresses completes well for US visitors and poorly for others.
- Product pageAdds to cart
- Select countryChooses Ireland
- Address formState and ZIP still required
- PaymentNever reached
- Order confirmedNo sale
The break is at the address step, so payment and confirmation are never reached.
How to check if your site has it
Open the form in a private window
Use your checkout, booking or lead form with no saved autofill.
Switch the country
Pick the UK, Ireland, Germany, Japan and a country without postal codes, such as the United Arab Emirates.
Watch the State and ZIP fields
Do the labels change? Is State still a US list? Is the field marked required?
Try to submit with real local data
Use a genuine-format address for that country, leaving State empty where none exists. Note any error messages.
Repeat on mobile
Mobile browsers sometimes autofill the wrong field types.
How to fix it
The principle is the same everywhere: the country choice should control which address fields appear, what they are called, and which are required. Where the platform does this for you, check that your theme or custom code is not overriding it.
Use native checkout
Shopify checkout adapts State/Province and Postal code by country. Do not replace it with a custom address form.
Check Settings > Markets and Shipping
Make sure the countries you sell to are enabled so they appear in the country list.
Review theme or app forms
Custom account or cart-estimator forms in your theme may hard-code US fields. Edit them in the theme code or remove the override.
WooCommerce: check locale settings
WooCommerce sets State and Postcode requirements by country. Go to WooCommerce > Settings > General and confirm the selling and shipping countries.
Look for plugin or snippet overrides
Checkout field editors or code using the woocommerce_checkout_fields filter can force fields required for every country. Disable them one at a time to find the cause.
Form plugins
In form builders, use the Address field type with country-based fields, or conditional logic to show State only for countries that use it.
Replace fixed State dropdowns
Webflow forms have no country logic by default. Use a text input for State/Region, not required, with a clear label.
Add conditional display
Use custom JavaScript or a form tool to show State only when the country needs it.
Use Wix address input or Wix Stores checkout
These adapt to the country. For custom forms, set State to optional and rename it State / Province / Region.
Use the Address field
In a form block, the Address field handles country. Avoid separate required State and ZIP text fields. Set unneeded ones to optional.
Edit the form builder fields
Use the Country field and make State and Postal code not required. Rename the labels to State / Province and Postal code.
Drive fields from the country select
Use a rules table keyed by country code and update labels, visibility and required state on change. See the snippet below.
Consider an address library
Open data such as Google's libaddressinput describes address formats per country, so you do not maintain them by hand.
const rules = {
US: { state: true, stateLabel: 'State', zip: true, zipLabel: 'ZIP code' },
CA: { state: true, stateLabel: 'Province', zip: true, zipLabel: 'Postal code' },
GB: { state: false, zip: true, zipLabel: 'Postcode' },
IE: { state: false, zip: false },
AE: { state: false, zip: false },
DEFAULT: { state: false, zip: false }
};
const country = document.querySelector('#country');
const stateWrap = document.querySelector('#state-wrap');
const zipWrap = document.querySelector('#zip-wrap');
const state = document.querySelector('#state');
const zip = document.querySelector('#zip');
function update() {
const r = rules[country.value] || rules.DEFAULT;
stateWrap.hidden = !r.state;
state.required = r.state;
zipWrap.hidden = !r.zip;
zip.required = r.zip;
if (r.stateLabel) stateWrap.querySelector('label').textContent = r.stateLabel;
if (r.zipLabel) zipWrap.querySelector('label').textContent = r.zipLabel;
}
country.addEventListener('change', update);
update();Before
- State dropdown lists only US states and is required
- ZIP code must be five digits
- Visitor invents values or leaves
After
- State hidden or optional for Ireland
- Postcode label and format follow the country
- Form submits with the real address
How to confirm it's fixed
- Switching the country updates labels and required fields
- A UK address submits with no State
- An Irish or UAE address submits with no ZIP
- A US address still requires State and ZIP
- Canadian addresses show Province and Postal code
- The order or lead arrives with the address stored correctly in your CRM or store admin
- Mobile and autofill behave the same
How to prevent it happening again
Re-test with non-US addresses after theme updates, checkout plugin changes, or any edit to form fields. Add a foreign address test to your release checklist. If you sell to new countries, test those first. Keep a small list of sample addresses for each market.
| Country | State/region | Postal code |
|---|---|---|
| United States | Required | ZIP required |
| United Kingdom | Not used | Postcode required |
| Ireland | County optional | Eircode optional or recommended |
| United Arab Emirates | Emirate optional | Not used |
| Canada | Province required | Postal code required |
How FunnelGuard handles this
FunnelGuard does not check this yet. Testing country-specific address rules is a possible future check. Today, FunnelGuard runs your real journeys on a schedule, such as lead forms and checkouts, and tells you when a step fails, when tracking hits are missing, or when test leads do not arrive. That can show a form that stopped submitting, but it does not test every country's address rules.
To watch for this issue, run the manual test above for your top markets after each change to checkout or forms. Also review abandoned checkouts or form errors by country in your store or analytics, and read support emails about address problems.
Questions people ask
Why does my checkout ask for a state when I am not in the US?
The form was likely built with US fields fixed in place, or a theme, plugin or custom field rule overrides the platform's country logic. The state field should only be required for countries that use states or provinces.
How do I make the state field optional for other countries?
Use your platform's country-based address settings, or add logic that sets the field to not required when the country is not the US, Canada or another country that needs it. In WooCommerce, check for plugins or code filtering checkout fields.
Which countries do not use ZIP or postal codes?
Some countries, such as the United Arab Emirates and several others, have no postal code system or do not require one. Check each market you sell to rather than assuming, and make the field optional where it is not needed.
Is it okay to just rename ZIP code to Postal code?
Renaming helps, but it is not enough. You also need to relax US-only format checks, such as five digits, and make the field optional where the country has no postal code.
Does Shopify handle international addresses automatically?
Shopify's native checkout adapts address fields by country. Problems usually come from custom theme forms, apps or edited code that use fixed US fields.
How can I test my address form for other countries?
Open the form in a private window, select several countries, and submit a real-format address for each. Check that labels change, unused fields are not required, and the data arrives correctly.
Can FunnelGuard detect a form that requires a US state?
Not yet. FunnelGuard does not check country-specific address rules today; this is a possible future check. It does run your real journeys on a schedule and alert you if a form step fails, so test foreign addresses manually in the meantime.
Related issues
- PRF-362Postal code validation rejects valid foreign codesFix guide
- PRF-360Phone field forces one country formatFix guide
- PRF-368Shipping not available to visitor's country discovered at checkoutFix guide
- PRF-353Untranslated form labels/errors on translated pageFix guide
- PRF-363Name fields reject accents, apostrophes or non-Latin scriptsFix guide
- PRF-355Currency not matching visitor's countryFix guide