On this page
What this issue is
Your form asks for a phone number, but the validation only accepts one national pattern. Typical culprits are a pattern like ^\d{10}$, a field set to numbers only, or a plugin set to US format. A visitor typing +44 20 7123 4567, 0049 30 123456 or (020) 7123 4567 sees an error, or the field silently strips characters and saves a broken number.
Why it costs you leads or sales
Visitors outside your main country are the ones who hit the error. Many will not guess the format you want. They give up, or type a fake number, which leaves your sales team with leads they cannot call. If the phone is required, the form cannot be submitted at all.
- Visitor opens formInterested, outside your home country
- Types +44 20 7123 4567Natural international format
- Validation errorPattern allows only 10 digits
- Lead notificationNever sent
- CRM recordNever created
The visitor is interested and fills in the form, but validation stops the submission.
The form blocks the submission, so no email or CRM entry is created.
Strict rule
Leads or data lost
Visitors with +44, +49 or spaced numbers see an error. Many leave and no lead is created.
Toggle the cause to see the effect on a visitor from abroad.
How to check if your site has it
Test the form yourself with several formats. Use a number you control, or a clearly fake one that you tell your team about, so nobody calls a stranger.
| Format | Example | Should be accepted? |
|---|---|---|
| E.164 with plus | +442071234567 | Yes |
| Plus with spaces | +44 20 7123 4567 | Yes |
| Double-zero prefix | 0044 20 7123 4567 | Yes |
| National with brackets | (020) 7123 4567 | Yes |
| With dashes | +1-202-555-0100 | Yes |
| With extension text | +49 30 123456 ext 12 | Ideally |
- Try each format in the table and note which ones show an error.
- Check the saved value in the notification email and the CRM: is the
+still there? - Test on mobile, where the keyboard may be digits only and block
+. - Look at the field's HTML: a
patternattribute,maxlengthortype=numberis a warning sign. - Try pasting a number with spaces.
<input type="number" name="phone" maxlength="10">
<input type="tel" name="phone" pattern="[0-9]{10}">How to fix it
Use the right input type
Use
type="tel", nottype="number". Number inputs reject+, spaces and leading zeros.Remove country-specific limits
Delete any
patternthat fixes the length to 10 digits and any shortmaxlength. Allow digits,+, spaces, dashes, dots and brackets.Consider a country-code picker
A library such as intl-tel-input adds a flag dropdown and validates by country. It can output E.164.
Validate loosely
Check for 7 to 15 digits after stripping punctuation. Do not reject a number only because it looks unfamiliar.
Store in E.164
Normalise on submit so your CRM and dialler get one consistent format.
Contact Form 7
Use the
[tel* your-phone]tag and remove any custom regex. Check any add-on validation too.Other form plugins
In the phone field settings, switch the format from US/Domestic to International (Gravity Forms: field Phone Format, choose International; WPForms: Phone field, Format Smart). Names vary by version.
Theme or form app
In the theme code or form app, find the phone input and remove
patternormaxlength. Check the theme's JavaScript for custom validation.Checkout
Checkout phone fields accept international numbers by default. Custom checkout scripts are the usual cause if not.
Form field
Use an Input with type Phone, not Number. Remove any custom code that adds a
pattern.
Form builder
Use the Phone field and enable its country picker option if available in your version. Remove any custom validation added in custom code or CSS/JS.
Wix Forms
Use the Phone field type, which accepts international input. If you used a short text field with validation, replace it.
Form block
Use the Phone field type. Squarespace validation is simple, so problems usually come from injected custom code.
Replace the pattern
Use a loose client-side rule and validate again on the server. See the code below.
function normalisePhone(input) {
let v = input.trim();
if (v.startsWith('00')) v = '+' + v.slice(2);
const hasPlus = v.startsWith('+');
const digits = v.replace(/\D/g, '');
if (digits.length < 7 || digits.length > 15) return null;
return (hasPlus ? '+' : '') + digits;
}
// normalisePhone('+44 20 7123 4567') -> '+442071234567'Before
- type=number or a 10-digit pattern
- + and spaces rejected
- Error message gives no hint
- International visitors leave
After
- type=tel with loose validation
- Country picker or clear example
- Numbers saved as E.164
- Leads from any country reach the CRM
How to confirm it's fixed
Re-run the format table
Submit the form with every format listed earlier, using test numbers.
Check the notification email
Confirm the number arrived intact, including the
+.Check the CRM record
Confirm the phone is stored in the expected format and the dialler can use it.
Test on mobile
Make sure the keyboard allows
+and the picker works with touch.
How to prevent it happening again
- Never use
type=numberfor phone fields. - Retest the phone field after changing form plugins, themes or validation scripts.
- Write a short validation rule in your form guidelines: accept 7 to 15 digits plus punctuation.
- Show a helpful example under the field, such as +44 20 7123 4567.
- Include an international number in every release test.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. Its robot visitor runs your form on a schedule using a test phone number and checks that the submission goes through and the lead reaches the inbox and CRM. If your validation breaks for that number, or the form fails for another reason, you get an alert with a screenshot and a likely cause.
Questions people ask
Why does my form say my phone number is invalid?
The form's validation probably expects one national format, such as exactly 10 digits. Characters like +, spaces, dashes or brackets, or a different length, then fail. Remove the strict pattern or switch to an international phone field.
How do I make a form accept international phone numbers?
Use type="tel", remove country-specific patterns and length limits, and allow +, spaces, dashes and brackets. For best results add a country-code picker such as intl-tel-input and store the number in E.164 format.
What is E.164 phone format?
E.164 is the international standard for phone numbers: a +, the country code and the subscriber number, up to 15 digits with no spaces or punctuation. For example, +442071234567. CRMs and dialling tools usually expect it.
Why can't I type a plus sign in my phone field?
The field is probably type="number", or a script strips non-digits. Number inputs reject +. Change the field to type="tel" and remove any script that removes the plus.
How many digits should a phone number validation allow?
Allow 7 to 15 digits after removing spaces and punctuation. E.164 caps numbers at 15 digits, and valid numbers in some countries are short. A fixed 10-digit rule will reject valid numbers.
Should I make the phone field optional?
If your team does not need to call every lead, yes. A required phone field loses visitors who dislike sharing it or who hit format errors. If you need it, keep validation loose and explain why you ask.
Can FunnelGuard tell me if my phone field rejects international numbers?
Only partly. FunnelGuard submits your form with a test phone number and checks the lead arrives, so a broken field is often caught. It does not try many international formats, so test those by hand.
Related issues
- DLV-235Address/postcode validation rejects other countriesFix guide
- DLV-233Non-ASCII names garbled (mojibake) in notification or CRMFix guide
- DLV-232Date field format (DD/MM vs MM/DD) swapped in the CRMFix guide
- DLV-231Submission timestamp stored in UTC but shown as localFix guide
- DLV-236Currency wrong in order emails for multi-currency storesFix guide
- DLV-237Translated site's form posts to the default-language listFix guide