On this page
What this issue is
A form shows a success message (an inline 'Thank you' or a redirect to a thank-you page) even though the submission failed somewhere behind the scenes. The visitor sees success. You see nothing, because no lead, no email and no alert arrive.
It happens in a few common ways:
- JavaScript shows the success message as soon as the button is clicked, without waiting for the server reply.
- The server returns HTTP 200 even when validation, spam filtering or saving failed.
- The form saves the entry but the notification email is rejected or goes to spam, and the form does not report it.
- The CRM or webhook step fails after the form has already said 'Sent'.
- A redirect to the thank-you page is hard-coded, so it happens whatever the result.
- The error handler (the catch block of the request) is missing or also shows success.
Why it costs you leads or sales
A visible error is annoying but recoverable: the visitor tries again or phones you. A false success is worse. The visitor stops trying, you never learn the lead existed, and you cannot follow up. It can run for weeks because everything looks healthy.
It also pollutes your data. If the thank-you page fires a conversion tag, your ad platforms count a conversion for a lead you never received, which can train bidding on bad signals.
- Visitor submits formFills in details and clicks Send
- Server or email/CRM step failsEntry not saved, email rejected or CRM call errors
- Success message shownVisitor sees 'Thanks, we will be in touch'
- You follow upNever happens, you never saw the lead
The visitor sees success at step 3, but the lead is lost at step 2.
Example: with a visible error some visitors retry or call. With a false success almost none do. Numbers are illustrative.
How to check if your site has it
Do not trust the message on screen. Check what actually arrived.
Submit a test lead
Use a recognisable name and an email address you control, for example 'Test Lead 2024-05-01'.
Check the inbox and spam folder
Look at every address that should be notified. Note how long it takes.
Check the CRM or form entries
Confirm the entry exists with all fields filled in correctly.
Open the browser network tab
In Chrome press F12, open Network, submit again and look at the form request. A 4xx or 5xx status, or a response body containing an error, while the page says 'Thanks' confirms the bug.
Force a failure
Go offline in DevTools (Network, set throttling to Offline) and submit. The form should show an error, not success.
How to fix it
The rule is simple: show success only after the server confirms the whole job worked, and show a clear error with a fallback otherwise.
const form = document.querySelector('#lead-form');
form.addEventListener('submit', async (e) => {
e.preventDefault();
const msg = document.querySelector('#form-message');
try {
const res = await fetch(form.action, {
method: 'POST',
body: new FormData(form)
});
if (!res.ok) throw new Error('HTTP ' + res.status);
const data = await res.json();
if (data.success !== true) throw new Error('Server reported failure');
msg.textContent = 'Thanks, we have your message.';
} catch (err) {
msg.textContent = 'Sorry, something went wrong. Please email us at hello@example.com.';
}
});Check the form plugin's settings
In Contact Form 7, Gravity Forms, WPForms or similar, review the confirmation and notification settings. Make sure the confirmation is the plugin's own, not a custom script that shows 'Thanks' on click.
Install an SMTP plugin
Send mail through a real SMTP service instead of the default PHP mail so failures are logged. Use the plugin's email log to see rejected messages.
Enable entry saving
Where the plugin supports it, store entries in the database so a lead exists even if email fails.
Check the contact form template
Native Shopify forms use form.posted_successfully. Show success only inside that condition and show form.errors otherwise.
Review third-party form apps
If an app injects the form, check its settings for error handling and the notification address in Settings, Notifications.
Use the built-in form states
Keep the Success message and Error message elements on the form block and style both. Avoid custom code that hides the form and shows success on click.
Check form notifications
In Project settings, Forms, confirm the recipient email and review Form submissions to see whether entries were stored.
Check the form's thank-you setting
In the form builder, review the submit action (message or redirect) and avoid custom scripts that redirect on click.
Check the workflow
Open the workflow triggered by the form and look at its execution logs for failed notification or CRM steps.
Review the form's submit settings
In the form's settings, check the post-submit action and the email recipients under notifications.
Check custom Velo code
If you use Velo, make sure success is shown only after the submit or insert promise resolves, and handle the catch.
Check form storage and notifications
In the form block's Storage settings, confirm the email address and any connected service. Check that the address still works.
Remove code that fakes success
Look in Code Injection for scripts that replace the form with a message on click.
Return proper status codes
Return 4xx for validation errors and 5xx for failures. Never return 200 with an error inside the body unless the front end checks it.
Treat email and CRM calls as part of success
Save the lead first, then send the email and CRM call. If they fail, log it, retry from a queue and alert yourself.
Handle errors in the front end
Use the pattern above: check res.ok, parse the response and show an error with a fallback contact.
Before
- Success text shows on click
- Server errors are ignored
- Failed email or CRM step is silent
- Conversion tag fires anyway
After
- Success shows only after a confirmed response
- Errors show a clear message and a fallback contact
- Lead is saved before email and CRM steps
- Conversion tag fires only on real success
How to confirm it's fixed
- A test lead arrives in the inbox (not spam) within a minute or two.
- The same lead appears in the CRM or form entries with every field correct.
- The network request returns a 2xx status and the success message appears only after it.
- With the network set to Offline, the form shows an error, not success.
- With an invalid email or blocked field, the form shows the right validation message.
- The conversion tag fires once, only on the real success state.
How to prevent it happening again
Forms break after plugin updates, theme changes, expired API keys, new spam rules and mail provider changes. The message on screen will not tell you. Only a delivery check does.
- Test the form after every plugin, theme or tracking change.
- Use SMTP with logging and keep SPF, DKIM and DMARC set up for your sending domain.
- Review CRM and integration connections when passwords or tokens change.
- Send form errors to a monitored channel, not just a log file.
- Run a scheduled end-to-end test that checks delivery, not just the message.
Day 1
A plugin update changes the mail settings. Emails start being rejected.
Day 1 onward
The form still shows 'Thanks'. Visitors leave, no one is alerted.
Day 12
Someone notices the inbox has been quiet.
Day 12
The mail setting is fixed, but the missed leads are gone.
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor fills in and submits your real form on a schedule, from the EU or the US. It then runs delivery checks: did the test lead reach the inbox and the CRM? When those checks contradict the success message the form showed, FunnelGuard flags it as a success message shown on failure.
A failure is re-checked from a second region before one alert goes out, by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. Test submissions are marked (utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent) so you can filter them out. FunnelGuard never bypasses CAPTCHAs or bot protection, so a form protected that way may need a different setup to be tested.
The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month and include a 3-day free trial. A free read-only website audit is also available.
Ignores response
Leads or data lost
The visitor sees 'Thanks' even when saving or email fails. No lead arrives and no one is alerted.
Toggle the cause to see how checking the server response changes what reaches you.
Questions people ask
Why does my form say thank you but I get no email?
The form is probably showing success without checking the server result, or the email step fails after the form has already replied. Check the network request status, your spam folder and your SMTP or mail log. Also check whether the entry was saved in the form plugin or CRM.
How do I know if my contact form is really working?
Submit a test lead and confirm it arrives in the inbox and the CRM with all fields. Then repeat the test on a schedule, because forms break after updates. Seeing a success message alone proves nothing.
Why is my form showing success when the submission failed?
Common reasons: JavaScript shows the message on click, the server returns HTTP 200 on errors, or the front end has no error handler. Fix it by showing success only when the response is OK and the body confirms it.
Can a form save the entry but still not send the email?
Yes. Saving and emailing are separate steps. Mail can be rejected by the provider or filtered as spam while the entry is stored. Use SMTP with logging and set up SPF, DKIM and DMARC for your domain.
Does a false success message affect my ad conversions?
It can. If the thank-you page or success state fires a conversion tag, ad platforms count a conversion for a lead you never received. Fire tags only after a confirmed success.
How can I test what happens when a form fails?
Open browser DevTools, go to the Network tab and set throttling to Offline, then submit. A good form shows an error. You can also submit invalid data and check that validation messages appear.
Can FunnelGuard detect a success message shown on failure?
Yes. FunnelGuard submits your form with a robot visitor and checks whether the test lead reaches the inbox and CRM. If delivery contradicts the success message, it alerts you with a screenshot and a likely cause.
Related issues
- CNV-082Thank-you page returns 404Fix guide
- CNV-083Redirect to thank-you page goes to the home pageFix guide
- CNV-084Thank-you page reachable without submitting (inflates conversions)Fix guide
- CNV-085Thank-you page fires conversion twice on reloadFix guide
- CNV-090Inline success message disappears too fast to noticeFix guide
- CNV-086Thank-you page has no next step (no booking link, no content)Fix guide