On this page
What this issue is
Validation is the code that checks what a visitor typed before creating an account. When it is wrong, it blocks valid data: a real email, a real name, a real phone number or a password that meets your stated rules. The visitor sees messages like "Please enter a valid email" and cannot finish signup.
| Field | Valid input that often fails | Usual cause |
|---|---|---|
| name+promo@company.com, first.last@sub.example.co.uk, new top-level domains like .studio | Regex that bans + or limits the domain ending to 2-3 letters | |
| Name | O'Brien, Zoë, Nguyễn, a single name, a name with a hyphen | Letters-only A-Z rule, minimum two words |
| Phone | +44 7700 900123, (555) 010-9999 | Digits-only or US-only format |
| Password | A password that follows the shown rules, or one with symbols | Server rules differ from the hint, or some symbols are blocked |
| Any field | Correct data on a good connection | API returns 500 or timeout and the form shows a generic field error |
Why it costs you leads or sales
- Ad or search clickVisitor lands on the signup page
- Fills in the formEnters a real email and password
- Validation error"Invalid email" on valid data
- Account createdNever reached
- Verification and onboardingNever reached
The visitor does everything right, but validation rejects the data, so every later step is lost.
Example: illustrative numbers only. If a rule wrongly rejects some valid emails, completions drop even though traffic is unchanged.
How to check if your site has it
- Email with a plus sign: test+signup@yourdomain.com
- Email with a long or new domain ending: name@company.studio
- Email with a subdomain: name@mail.company.co.uk
- Name with an apostrophe, hyphen, accent or only one word
- Phone number with a + country code, spaces and brackets
- A password that exactly matches the rules you display
- A password containing symbols such as & < > or a space
- Autofilled details from the browser (autofill can add spaces)
- Email typed with a trailing space
How to fix it
Reproduce the exact failure
Write down the input, the message shown and the network response. Fix only what you can reproduce.
Find where the rule lives
It may be an HTML pattern attribute, a JavaScript regex, a form builder setting, a plugin or your server code. Search for the error text to locate it.
Loosen the rule to match reality
For email, accept one @ with text either side and a dot in the domain, then rely on the verification email to prove it works. For names, allow any letters, spaces, hyphens and apostrophes, or accept any text. For phone, allow + and separators.
Make front end and back end agree
Use the same rules in both places. Make the password hint match the server rule word for word.
Trim whitespace before validating
Strip leading and trailing spaces so autofill and copy-paste do not fail.
Show a useful message
Say exactly what is wrong and keep what the visitor typed. Show a different message for server problems, such as "Something went wrong on our side, please try again".
Fix server errors at the source
If the network response is 500 or a timeout, check your server logs, the database and any third-party service called during signup (such as an email-validation API).
Check the form plugin
In your form or membership plugin, open the field settings and remove custom validation, regex or character limits. Update the plugin, as older versions can reject new domain endings.
Look for security or spam plugins
Disable them one at a time on a staging copy. Some block symbols or strings and return a generic error.
Check the field type and pattern
Select the input, open the element settings and check the type is Email and no custom pattern is set. Review any custom code in the page or project settings that adds validation.
Check the form backend
If the form posts to your own app or a third party, confirm that service accepts the same values.
Review the form field settings
In the form builder, open each field and check the type and any required or format options. Test again after publishing.
Review the field settings
In the editor, open the form field settings and check the type and any custom validation. If you use Velo code, search for custom checks on the input value.
Check the form block
Open the form block, check each field type (for example Email) and remove any code injection that adds extra validation.
Replace strict regexes
Use a simple email check on the front end and validate on the server. See the snippet below.
Return clear status codes
Return 422 with field errors for bad data and 500 only for real faults, so your front end can show the right message.
function isPlausibleEmail(value) {
const email = value.trim();
// one @, something on both sides, a dot in the domain, no spaces
return /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(email);
}Before
- name+promo@company.studio is rejected
- Names with apostrophes fail
- Password hint differs from the server rule
- Server errors show as "invalid email"
After
- Valid emails with plus signs and new domains pass
- Any real name is accepted
- Hint and server rule match exactly
- Server faults show a separate, honest message
How to confirm it's fixed
- Every input from your test list now submits without an error
- The Network tab shows a success response for the signup request
- The account appears in your database or CRM
- The verification or welcome email arrives
- Works on desktop and mobile, in at least two browsers
- Truly invalid input (no @, empty required field) still shows a clear message
How to prevent it happening again
Keep a list of test inputs
Re-run the plus-sign, accent and phone cases after any change to the form, plugin or theme.
Test after every release
Form builders, plugins and backend deploys can change validation without warning.
Log rejected submissions
Record which field failed and why (not the password). A spike in one field points to a bad rule.
Run the signup journey on a schedule
A scheduled test catches a regression before visitors report it.
How FunnelGuard handles this
Questions people ask
Why does my signup form say invalid email when the email is correct?
The validation rule is usually too strict. Common culprits are patterns that reject plus signs, subdomains or newer domain endings, or a trailing space from autofill. Check the Network tab to see whether the error appears in the browser or comes back from the server.
Why does my form reject emails with a plus sign?
The email pattern in your form or backend does not allow the + character, even though it is valid and widely used. Replace the pattern with a lenient check that accepts one @ and a dot in the domain, and trim spaces.
How do I test whether my signup form blocks valid data?
Submit it with realistic edge cases: a plus-sign email, a new domain ending, a name with an apostrophe, a phone number with a country code and a password that follows your rules. Watch the Network tab for 400, 422 or 500 responses.
Why does my signup form show an error but work on a second try?
That points to an intermittent server fault, a timeout or a slow third-party call during signup, which the form shows as a field error. Check your server logs and any validation or email service the signup calls.
Should I validate emails with a regex at all?
Use only a simple check on the front end, such as one @ and a dot in the domain, to catch typos. Prove the address works by sending a verification email, because no pattern can tell whether a mailbox exists.
Can FunnelGuard tell me if my signup form errors on valid data?
Yes, within limits. Its signup preset runs the signup journey on a schedule with test details and alerts you, with a screenshot and likely cause, if the form fails. It tests the inputs set for the journey, so unusual formats still need your own testing.
How do I stop password rules from rejecting good passwords?
Make the hint on the page match the server rule exactly, and allow all common symbols and spaces. Show which rule failed rather than a generic error.