Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form shows success message but fails: how to find and fix it

CNV-091High impactDetectedBy FunnelGuardPublished Updated
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:

Typical causes
  • 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.

Where a false success loses the lead
  1. Visitor submits formFills in details and clicks Send
  2. Server or email/CRM step failsEntry not saved, email rejected or CRM call errors
  3. Success message shownVisitor sees 'Thanks, we will be in touch'
  4. You follow upNever happens, you never saw the lead

The visitor sees success at step 3, but the lead is lost at step 2.

Visible error vs false successExample numbers
Visible error vs false success (example)Visible error shown: 4 leads recovered out of 10 failed submissions; False success shown: 0 leads recovered out of 10 failed submissions02340Visible error shownFalse success shownleads recovered out of 10 failed submissions

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.

Test a form end to end
  1. Submit a test lead

    Use a recognisable name and an email address you control, for example 'Test Lead 2024-05-01'.

  2. Check the inbox and spam folder

    Look at every address that should be notified. Note how long it takes.

  3. Check the CRM or form entries

    Confirm the entry exists with all fields filled in correctly.

  4. 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.

  5. 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.

Show success only after a confirmed responsejavascript
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.';
  }
});
Fix by platform
  1. 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.

  2. 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.

  3. Enable entry saving

    Where the plugin supports it, store entries in the database so a lead exists even if email fails.

Form behaviour

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

Confirmation checklist
  • 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.

Prevention habits
  • 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.
How a silent failure unfolds (example)
  1. Day 1

    A plugin update changes the mail settings. Emails start being rejected.

  2. Day 1 onward

    The form still shows 'Thanks'. Visitors leave, no one is alerted.

  3. Day 12

    Someone notices the inbox has been quiet.

  4. 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.

What the visitor sees vs what you receiveInteractive
Form ignores the server response

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.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: delivery checks contradict success.

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.