Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Phone field rejects international numbers (+44, +971): fix it

CNV-006Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

The phone field on a lead form checks what people type. When the check is too strict, valid international numbers fail. Common causes are a pattern that allows only digits, a fixed length such as 10 digits, a maxlength that is too short for +971 50 123 4567, or a script that strips the + and then rejects the result.

Why it costs you leads or sales

The people blocked are the ones with a non-local number: expats, overseas buyers and anyone on a foreign mobile. They have already filled in the rest of the form, so you lose a lead you almost had. You also never see them in your reports, because a blocked submit sends no data to your CRM.

Where the lead is lost
  1. Ad clickVisitor lands on the page
  2. Fills the formTypes +971 50 123 4567
  3. Phone validationShows 'Invalid phone number'
  4. SubmitNever happens
  5. CRM and conversion tagNo lead, no conversion

The visitor does everything right and is stopped at the phone field.

Submissions by phone formatExample numbers
Submissions by phone format (example)07700900123 (local): 100 % accepted; +44 7700 900123: 0 % accepted; +971 50 123 4567: 0 % accepted; (555) 010-1234: 0 % accepted0387710000007700900123 (local)+44 7700 900123+971 50 123 4567(555) 010-1234% accepted

Example: share of test entries accepted by a strict 10-digit rule. Numbers are illustrative.

How to check if your site has it

Open the live form in a private window and try real formats. Do this on desktop and on a phone, because mobile keyboards and autofill can change what gets typed.

Formats to test
  • +44 7700 900123 (UK, with spaces)
  • +447700900123 (no spaces)
  • +971 50 123 4567 (UAE)
  • 00971501234567 (international prefix with zeros)
  • +1 (555) 010-1234 (US with brackets and dashes)
  • 07700 900123 (local with leading zero)
  • A number pasted from a contact card

Then look at the HTML. Right-click the field, choose Inspect and check the type, pattern, maxlength and inputmode attributes. Also check the browser console for validation scripts that run on blur or submit.

Typical faulty fieldhtml
<input type="tel" name="phone" pattern="[0-9]{10}" maxlength="10">
Phone field rule

Strict

  • Digits only, exactly 10
  • maxlength of 10
  • + sign rejected
  • Vague error message

Tolerant

  • Allows +, digits, spaces, dashes, brackets
  • Length 7 to 20 characters
  • Clear message: 'Include your country code, e.g. +44'
  • Number cleaned on the server

How to fix it

The principle is the same everywhere: accept what people naturally type, and normalise it afterwards. Exact steps depend on your form tool and theme.

Fix by platform
  1. Find your form plugin

    Contact Form 7, WPForms, Gravity Forms and others handle phone fields differently.

  2. Contact Form 7

    Use the [tel] tag. Remove any custom regex or a validation snippet in functions.php that limits digits.

  3. WPForms or Gravity Forms

    Open the Phone field settings. Choose the International format (or turn off the US-only format) and save.

  4. Check for extra scripts

    A theme or snippets plugin may add its own mask. Disable it and retest.

Tolerant phone fieldhtml
<label for="phone">Phone (include country code)</label>
<input id="phone" type="tel" name="phone" autocomplete="tel" inputmode="tel"
  pattern="^\+?[0-9\s\-().]{7,20}$" maxlength="25"
  title="Use digits, spaces, dashes or brackets. Example: +44 7700 900123">
Normalise before sendingjavascript
function cleanPhone(value) {
  var v = value.trim().replace(/^00/, '+');
  return v.replace(/[^\d+]/g, '');
}

How to confirm it's fixed

Confirm the fix
  1. Retest every format

    Submit each format from the checklist above in a private window.

  2. Check the inbox and CRM

    Confirm each test lead arrives with the full number, including the + sign.

  3. Test on mobile

    Use a real phone to check the keyboard and autofill.

  4. Check the conversion tag

    Confirm your lead event fires on a successful submit.

How to prevent it happening again

Prevention
  • Include +44 and +971 style numbers in every form test plan
  • Retest after plugin, theme or form builder updates
  • Keep phone rules in one place, not in the theme and a plugin
  • Show a helpful error message with an example
  • Set the default country to match your main market

How FunnelGuard handles this

FunnelGuard detects this issue only partly. When it runs your lead form journey, it fills the phone field with a single test phone number and checks that the form submits and the lead arrives. It does not try format variants, so a form that accepts the test number but rejects +971 or a number with brackets will still pass.

To cover the rest, run the manual format test above whenever you change the form, and pick a test number in the format your overseas leads use most. FunnelGuard still catches the bigger breaks: a form that stops submitting, a missing tracking hit, or a test lead that never reaches your inbox or CRM. A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.

Questions people ask

Why does my form say invalid phone number for +44 numbers?

The field's validation probably allows only digits or a fixed length, so the + sign or the spaces fail. Inspect the input for a pattern or maxlength, or check the form plugin's phone format setting, and allow a leading + plus separators.

What is the best regex for international phone numbers in a form?

A tolerant pattern such as ^\+?[0-9\s\-().]{7,20}$ accepts most real entries. Strict per-country rules often reject valid numbers, so normalise to digits and + on the server instead.

Should I use input type tel or type number for phone fields?

Use type="tel". It shows a phone keypad on mobile and allows +, spaces and brackets. type="number" strips the + and leading zeros, and can reject valid numbers.

How do I accept UAE +971 numbers on my contact form?

Remove any rule that limits length to 10 digits or blocks the + sign. +971 50 123 4567 has 12 digits plus the +, so set maxlength to at least 20 and test it after saving.

What is E.164 phone format?

E.164 is the international standard: a + sign, the country code and the number, with no spaces, up to 15 digits, for example +447700900123. Storing numbers this way makes them easy to dial and to sync with a CRM.

Can I detect a phone validation problem automatically?

Partly. FunnelGuard submits your form with one test phone number and checks the lead arrives, but it does not try different formats. Test +44, +971 and bracketed formats by hand after each form change.

Why does my phone field work on desktop but not on mobile?

Mobile autofill and keyboards can insert spaces, dashes or a +country prefix that desktop typing does not. Test on a real phone with autofill on, and loosen the rule if it fails.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: test phone only; no format variants.

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.