Checkout Optimization

Checkout Form Optimization: Field-by-Field Best Practices for a Form Shoppers Finish

The average checkout form asks for 11.3 fields when most stores need 8. Which fields to cut, hide or change, how to validate them, and how to make the form work on a phone, from Glued's checkout audits and Baymard's research.

Updated October 30, 2026
Fields in the average checkout form
11.3
Of sites use more than one name field
89%
Of sites have no inline validation
31%
Checkout form with three validated fields and three collapsed optional links next to a phone showing a numeric keypad

Checkout form optimization is the work of making the checkout form shorter and easier to complete: fewer fields, the right keyboard for each one, clear validation and a layout that works on a phone. The average checkout form has 11.3 fields, while most stores need only 8 (Baymard Institute, 2024). Each extra field is a chance to hesitate, make a mistake or leave. This guide goes field by field through what Glued changes in checkout audits.

In short
  • Cut the form to what fulfillment needs: most checkouts need 8 fields, the average has 11.3 (Baymard Institute, 2024).
  • Hide what most shoppers don't need: Address line 2, the coupon code and the billing address.
  • Validate inline as shoppers leave each field; 31% of sites still don't (Baymard Institute).
  • On mobile, the right keyboard, 16px text and large tap targets matter as much as the field count.
Average form
11.3
fields in checkout, vs 8 needed (Baymard, 2024)
Name fields
89%
of sites split name into more than one field
No inline validation
31%
of sites only show errors after submit

What is checkout form optimization?

The checkout form is everything a shopper types or selects to place an order: contact details, name, shipping address, delivery choice and payment. Checkout form optimization reduces how much of that there is and makes the rest quicker to complete. It is the most hands-on part of checkout optimization: where checkout flow optimization looks at the sequence of steps, form optimization looks at the fields inside them.

Baymard Institute's research makes the case for starting here: across its testing, the number of form fields affects how hard a checkout feels far more than the number of steps. 17% of shoppers who abandon a checkout say it was too long or complicated (Baymard Institute, 2025), and most of that length is fields.

Which checkout form fields do you actually need?

Start with an audit. For each field, ask whether the order can be fulfilled without it. For a typical DTC order, the answer leaves very little:

FieldNeeded?What to do
EmailYesAsk first; it's the order confirmation and recovery channel
Full nameYesOne "Full name" field where the platform allows it
Street address, city, state, postal code, countryYesAddress autocomplete; fill city and state from the postal code
Address line 2SometimesHide behind an "Add apartment, suite, etc." link
Phone numberRarelyOptional unless the carrier requires it, with a note on why you ask
Company nameNo, for consumer ordersRemove, or hide behind a link
Billing addressOnly if differentDefault to "Same as shipping"
Coupon codeOnly for shoppers with a codeCollapse behind a link
Birthday, marketing preferencesNoAsk after the order, on the confirmation page or by email

Glued typically finds two to four fields in a DTC checkout that can be removed, hidden or made optional without affecting a single order. The goal is the minimum necessary, not the minimum possible: keep any field your operations genuinely depend on.

Field-by-field checkout form best practices

Name: one field, not two

Shoppers think of their name as one thing. In Baymard's testing, 42% of participants typed their full name into a "First name" field at least once, then had to go back and fix it. With a single "Full name" field, only 4% hesitated at all. Yet 89% of sites still use more than one name field. Where your platform requires separate fields, label them clearly and keep them side by side.

Address: autocomplete and fewer visible fields

The address is the longest part of the form and the hardest to type on a phone. Three changes do most of the work:

  • Address autocomplete. Let shoppers pick their address from suggestions after a few characters. Baymard reports 55% of sites don't offer a fully automatic address lookup. On Shopify it is a built-in checkout option; check it still works on a real phone after theme or app changes.
  • Hide Address line 2. 30% of Baymard's test participants stopped at "Address line 2" and some doubted what they had typed in line 1. Shoppers who need it look for it, so a link is enough. 75% of sites still show it by default.
  • Fill city and state from the postal code. It removes two fields for most shoppers and prevents mismatches.

Billing address: same as shipping by default

Most shoppers bill and ship to the same address. Showing a second, empty address form by default presents an entirely redundant set of fields; Baymard finds 24% of sites still do it. A pre-ticked "Billing address same as shipping" box hides them for everyone who doesn't need them.

Phone number: optional, and explain why

Most DTC orders don't need a phone number: confirmations and tracking go by email or text the shopper opts into. If your carrier needs one, say so next to the field ("For delivery questions only"). An unexplained required phone field reads as a marketing grab at exactly the wrong moment.

Coupon code: hide it

A visible coupon field is an invitation to leave. In Baymard's testing it made shoppers pause, and some left the site to search for a code; once they leave, the chance they don't come back rises significantly. 70% of sites have a promo field, and 35% of them show it open by default. Put it behind a "Have a discount code?" link, and apply discounts automatically when a shopper qualifies.

Hide, don't delete. Address line 2, the coupon code and the billing address stay one tap away for shoppers who need them, and out of sight for everyone else.

How should checkout form validation work?

Errors that only appear after pressing Continue stop shoppers cold: they have to find the problem, remember what the field wanted and fix it, and on some sites re-enter data the form cleared. Baymard finds 31% of sites have no inline validation at all. Inline validation checks each field as the shopper finishes it, while the entry is still fresh in mind. Three details decide whether it helps or annoys:

  1. Don't validate too early. Wait until the shopper has typed and left the field. Flagging an email as invalid before they've finished typing feels like being shouted at.
  2. Remove the error as soon as it's fixed. A message that lingers after the correction makes shoppers doubt the fix.
  3. Confirm correct entries. A small check mark on completed fields shows progress and reassures.

Write error messages that say what to do ("Enter a 5-digit ZIP code") rather than what went wrong ("Invalid input"). And if a payment fails, keep everything the shopper entered except the field that needs changing: a cleared form after a declined card is one of the most reliable ways to lose an order.

How do you optimize a checkout form for mobile?

Mobile shoppers abandon more often than desktop shoppers: Dynamic Yield's benchmark puts mobile cart abandonment at 79.92%, against 69.19% on desktop. On a phone, the form's details carry more weight:

DetailWhat to setWhy
Keyboardtype="email", type="tel", inputmode="numeric" for postal codesThe right keyboard appears; fewer typos
AutofillCorrect autocomplete attributes (name, email, address fields)Browsers and password managers fill the form
Text sizeAt least 16px in inputsStops iPhones zooming in on tap
Tap targetsAbout 48px tall fields and buttons, with spacingApple recommends 44pt, Google 48dp minimums
Express walletsAbove the formReturning shoppers skip the form entirely

Test on real phones, not a desktop browser's responsive view: tap every field, check the keyboard that opens, trigger an error, and complete a purchase with autofill. DR-HO's shows what getting the mobile basics right is worth for an audience that needs it most: after Glued rebuilt the store with larger tap targets, higher contrast and simpler navigation for its 50+ buyers, conversion rate rose 122% and net sales 212% (Shopify analytics, 2024). More on mobile layouts in responsive design best practices.

+122%
DR-HO's · conversion rate
After rebuilding the store, from homepage to checkout, around larger tap targets and simpler navigation for a 50+ audience. Source: Shopify analytics, 2024.

Express checkout: the shortest form is no form

Shop Pay, Apple Pay and Google Pay replace the whole form with saved details for shoppers who use them. That makes them a form optimization as much as a payment option. Place them at the top of the checkout and in the cart, above the form, so shoppers see them before they start typing. Shopify reports, from a study it commissioned in 2023, that Shop Pay lifts conversion by up to 50% compared with guest checkout. Which options to offer is covered in payment method optimization, and why the form should never start with an account wall in guest checkout vs account creation.

Checkout form settings on Shopify

Shopify stores can make most of these changes without code. In the checkout settings you can set company name, Address line 2 and the shipping phone number to hidden, optional or required, and turn on address autocomplete. Changes beyond that, such as custom fields, custom validation or moving elements, need checkout extensions, and some placements are reserved for Shopify Plus. For those builds, see Glued's Shopify custom development.

A checkout form audit checklist

Run through this on a real phone. Each "no" is a fix worth testing.

  • Is every visible field needed to fulfill the order?
  • Are Address line 2, the coupon code and the billing address hidden by default?
  • Is the phone number optional, or explained if required?
  • Does address autocomplete work on mobile?
  • Does each field open the right keyboard, and is input text at least 16px?
  • Are fields and buttons easy to tap without zooming?
  • Do errors appear inline, after the shopper leaves the field, with a clear fix?
  • Does a declined card keep everything else the shopper entered?
  • Are express wallets visible before the form starts?

To see where shoppers actually struggle, watch session recordings of mobile checkouts and look for repeated taps on one field, tab switches at the coupon field, and exits right after an error. Website heatmap analysis explains how Glued reads them.

The bottom line

Most checkout forms ask for more than they need and make the rest harder than it has to be. Cut fields to what fulfillment requires, hide the ones most shoppers skip, validate as shoppers go, and make every field easy on a phone. These are some of the cheapest changes in checkout optimization, and many take less than a day.

For a review of your checkout form and the rest of your checkout, start with a free audit, or see how Glued runs this work month to month in Ongoing Optimizations. For what shoppers say makes them leave, see cart abandonment statistics.

FAQ

How many fields should a checkout form have?

As few as fulfillment needs. Baymard Institute finds that most stores need only 8 form fields, while the average checkout in 2024 had 11.3. For a typical DTC order that means an email, a name, the shipping address and the card details, with billing set to match shipping by default.

Which checkout fields can I remove or hide?

Hide Address line 2, the coupon code field and the billing address behind a link or a checkbox. Make phone number optional unless your carrier needs it, and remove company name for consumer orders. Ask for marketing preferences, birthdays and similar details after the order, not during checkout.

Should checkout forms use inline validation?

Yes. Inline validation shows an error next to the field as soon as the shopper leaves it, while the entry is still fresh in mind, instead of after they press Continue. Baymard finds 31% of sites have no inline validation at all. Don't validate before the shopper has typed anything, and remove the error as soon as it's fixed.

Does the promo code field hurt conversion?

It can. In Baymard's testing, a visible coupon field made shoppers pause, and some left the site to search for a code; once they leave, the chance they don't come back rises. 70% of sites have a promo field and 35% of those show it open by default. Hide it behind a link, or apply valid discounts automatically.

What size should checkout form fields be on mobile?

Large enough to tap accurately. Apple's design guidelines recommend touch targets of at least 44 by 44 points and Google's Material Design 48 by 48 dp. In practice, Glued sets fields and buttons around 48px tall, keeps space between them, and uses at least 16px text so iPhones don't zoom in when a field is tapped.

Can you change checkout form fields on Shopify?

Yes, for the main ones. In Shopify's checkout settings you can choose whether company name, Address line 2 and the shipping phone number are hidden, optional or required, and switch on address autocomplete. Adding custom fields or custom validation needs checkout extensions, and some placements are limited to Shopify Plus.

5.0 RATING • 350+ CLIENTS

Get A Free Website Audit.

We’ll identify what’s leaking revenue on your site and show you how to fix it. The free audit includes:

Live Website Walkthrough
Technical Analysis
Conversion Checklist
Key Section Redesigns
Industry & ICP Research
Implementation Plan
Try Us Free
5.0 RATING • 500+ CLIENTS

Work with the #1 Team That gets you predictable results.

Strategy
DESIGN
COPYWRITING
DEVELOPMENT
Free Audit & Redesign

Get a Free Audit

See the difference for yourself. We’ll identify what’s leaking revenue on your site and show you how to fix it.
Free Forever
130+ Optimizations
Section Redesigns
Get My Free Audit
CRO Strategy Call

Talk to Glued

This isn’t a sales call. It’s a hands-on teardown session where we walk through exactly what’s holding your site back and what fixing it would mean for your revenue.
No Sales Pitch
ROI Projections
Free CRO Strategy
Book a Call