Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Phone required at checkout with strict format: how to fix it

CNV-198Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Your checkout asks for a phone number, marks it as required, and only accepts one exact pattern. For example, it may demand 10 digits with no spaces, or a US-style number only. A customer who types +44 7700 900123 or (555) 010-9999 sees an error and cannot continue.

This is different from a field that rejects valid data in general. Here the cause is the combination of two choices: the phone is mandatory, and the format rule is narrow.

Why it costs you leads or sales

Many people do not want to give a phone number to buy something. When it is required and picky, some give up, and others type fake digits. Customers abroad are hit hardest, because country codes and local lengths differ.

The loss is quiet. The customer already chose a product and reached checkout, so the order is close. You will not see an error in your reports, only fewer completed orders.

Where the order is lost
  1. Product pageCustomer adds to cart
  2. Checkout detailsCustomer types +44 7700 900123
  3. Phone validationError: invalid format
  4. PaymentNever reached
  5. Order confirmationNo purchase

The strict phone rule blocks the step before payment.

Checkout completion by phone settingExample numbers
Checkout completion by phone setting (example)Required, strict format: 52 %; Required, any format: 58 %; Optional, any format: 63 %02448525863Required, strict form…Required, any formatOptional, any format%

Example: illustrative numbers showing how completion can differ when the phone is required with a strict format versus optional with any format.

How to check if your site has it

Go through your own checkout in a private browser window and try different numbers. Use a test product and stop before paying.

Phone numbers to try
  • Leave the field empty and see if you can continue
  • A number with spaces: 07700 900 123
  • A number with dashes or brackets: (555) 010-9999
  • An international number: +44 7700 900123
  • A number with a country code and no plus: 447700900123
  • A short local number, as used in your target countries
  • A number pasted from a phone contacts app
  • Test on mobile as well as desktop

How to fix it

The best fix is to make the phone optional. If you truly need it, for example for courier delivery, accept any common format and clean it up after the order. Where the setting lives depends on your platform.

Make the phone optional and relax the format
  1. Open checkout settings

    Go to Settings > Checkout. Under Customer contact or Shipping address phone number, choose Hidden or Optional instead of Required. Menu names can vary by plan and checkout version.

  2. Check apps

    If the error persists, an app or a customised checkout may add its own validation. Disable it in a test and re-check.

A forgiving phone inputhtml
<input type="tel" name="phone" id="phone" autocomplete="tel" inputmode="tel" pattern="[0-9+()\-.\s]{6,20}">
If you must keep the phone
  1. Explain why

    Add a short hint such as 'Only used by the courier for delivery'.

  2. Accept any common style

    Allow digits, spaces, plus, dashes, dots and brackets. Check length loosely, not an exact count.

  3. Clean it afterwards

    Normalise the number after the order is placed, not at the field.

  4. Write a helpful error

    If you must reject a value, show an example of an accepted number.

Phone field before and after

Before

  • Phone required
  • Only 10 digits with no spaces accepted
  • Error: invalid format
  • International customers blocked

After

  • Phone optional or clearly explained
  • Spaces, plus and brackets accepted
  • Helpful hint with an example
  • Number cleaned after the order

How to confirm it's fixed

Repeat the number tests from the check section in a private window. Each style should pass to the payment step. Then leave the field empty if you made it optional and confirm you can still continue. Finally, place a test order, if your store has test mode, and check the phone is saved in the order.

How to prevent it happening again

Prevention habits
  • Ask whether you really need the phone before making it required
  • Re-test checkout with several number styles after theme, app or plugin updates
  • Test with numbers from every country you sell to
  • Keep validation in one place, not in both theme and app
  • Review checkout settings after any platform checkout upgrade

How FunnelGuard handles this

FunnelGuard detects this issue only partly. It runs your checkout journey on a schedule with a test phone number and checks that the step accepts it and the journey moves on. If your checkout starts rejecting that test number, you get one alert after a re-check from a second region, with a screenshot and a likely cause.

What it does not do: it uses a single test number, so it cannot know whether your real customers' formats, such as other countries, spaces or brackets, would be rejected. It also cannot tell whether making the phone optional would lift your orders.

Cover the rest by hand. Run the number list above after changes, and test the formats your customers actually use. Test traffic is marked and stops before payment unless your store's test mode is set up. A free plan covers 1 site and 2 journeys with daily checks, and paid plans have a 3-day free trial.

Questions people ask

Why does my checkout say my phone number is invalid?

The checkout probably expects one exact format, such as 10 digits with no spaces or a local country style. Numbers with a plus sign, spaces, brackets or a different country code then fail. Try plain digits, and ask the store to accept any common format.

Should I make the phone number required at checkout?

Only if you need it, for example for courier delivery or phone orders. Otherwise make it optional or hide it, because some customers will leave rather than share it. If you keep it, explain what it is used for.

How do I make the phone number optional in Shopify checkout?

Go to Settings > Checkout in your Shopify admin and set the phone number option to Optional or Hidden. The exact wording depends on your checkout version. If an error remains, check whether an app adds extra validation.

How do I make the phone field optional in WooCommerce?

In the Customizer go to WooCommerce > Checkout and set Phone to Optional or Hidden. If you use the block checkout, change it in the Checkout block settings. Also check plugins or code that apply their own phone pattern.

What is the best phone validation for international customers?

Allow digits, spaces, plus, dashes, dots and brackets, and check only a loose length such as 6 to 20 characters. Normalise the number after the order. Avoid rules that assume one country's length.

Can a phone format error cause cart abandonment?

Yes. The customer has already chosen a product, so an error at the contact step can make them leave. Fake numbers and lost orders are common results of strict rules.

Can FunnelGuard tell if my phone validation is too strict?

Partly. It checks your checkout with a test phone and alerts you if that number is rejected. It does not try all the formats your customers use, so test those by hand.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: test phone.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.