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.
- Ad clickVisitor lands on the page
- Fills the formTypes +971 50 123 4567
- Phone validationShows 'Invalid phone number'
- SubmitNever happens
- CRM and conversion tagNo lead, no conversion
The visitor does everything right and is stopped at the phone field.
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.
- +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.
<input type="tel" name="phone" pattern="[0-9]{10}" maxlength="10">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.
Find your form plugin
Contact Form 7, WPForms, Gravity Forms and others handle phone fields differently.
Contact Form 7
Use the [tel] tag. Remove any custom regex or a validation snippet in functions.php that limits digits.
WPForms or Gravity Forms
Open the Phone field settings. Choose the International format (or turn off the US-only format) and save.
Check for extra scripts
A theme or snippets plugin may add its own mask. Disable it and retest.
Check the theme form
In Online Store, Themes, Edit code, open the form section and look for a pattern or maxlength on the phone input.
Use a tolerant pattern
Replace it with the pattern shown in the code example below, or remove it.
Checkout phone
Shopify's own checkout validates phone numbers by country. Test it separately from your custom forms.
Look for injected scripts
In Tags, check Custom HTML tags that add input masks or validation to the phone field.
Edit or pause the tag
Update the regex to the tolerant one, then use Preview mode to test before publishing.
Select the phone input
In the Designer, select the field and check Settings. Webflow's native form has no phone validation by default.
Check custom code
Look in Page settings and Project settings, Custom code, for scripts that add a pattern or mask.
Open the form builder
Select the Phone field in Sites, Forms.
Review the format option
Make sure the field is not limited to one country, and that the default country matches your main market.
Test the published form
Submit +44 and +971 numbers and confirm the contact appears in the CRM.
Select the phone field
In the editor, click the phone input and open Settings.
Check validation
Wix Forms phone fields accept international numbers by default. If you added Velo code, remove or loosen any regex in it.
Use the Phone field type
In the form block, add a Phone field rather than a short text field with custom rules.
Check code injection
Under Settings, Advanced, Code Injection, look for scripts that restrict phone input.
Relax the HTML pattern
Use the pattern in the code example and raise maxlength to at least 20.
Validate on the server too
Check the same loose rule in your back end, and store the number as text so a leading + or 0 is kept.
Optional: country picker
A phone input library such as intl-tel-input adds a flag dropdown and formats numbers to E.164.
<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">function cleanPhone(value) {
var v = value.trim().replace(/^00/, '+');
return v.replace(/[^\d+]/g, '');
}How to confirm it's fixed
Retest every format
Submit each format from the checklist above in a private window.
Check the inbox and CRM
Confirm each test lead arrives with the full number, including the + sign.
Test on mobile
Use a real phone to check the keyboard and autofill.
Check the conversion tag
Confirm your lead event fires on a successful submit.
How to prevent it happening again
- 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.
Related issues
- CNV-007Country code dropdown defaults to the wrong countryFix guide
- CNV-018Autofill fills wrong fields (bad autocomplete attributes)Fix guide
- CNV-003Required field marked optional (or optional marked required)Fix guide
- CNV-026Special characters or accents rejected in name fieldFix guide
- CNV-005Email field uses type=text so mobile shows the wrong keyboardFix guide
- CNV-019Form fields too small or overlapping on mobileFix guide