Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form does nothing when you click submit: fix silent validation

CNV-032High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Validation is the check a form runs before it accepts data, such as "email is required". When a check fails, the form should tell the visitor what to fix. In this issue the check fails but no message appears. The visitor clicks the button and nothing happens: no page change, no error, no thank-you.

Why it costs you leads or sales

Visitors who cannot tell what went wrong rarely try twice. They click again, assume the site is broken and leave. You paid to bring them to the page, and you never see the lost lead because nothing reaches your inbox or CRM. Ad platforms also record no conversion, so reporting looks like low demand rather than a broken form.

Where a silent validation failure breaks the funnel
  1. Ad or search clickVisitor lands on the page
  2. Fills the formEnters valid-looking details
  3. Clicks submitValidation fails, no message shown
  4. Thank-you pageNever reached
  5. Lead in inbox/CRMNever created
  6. Conversion tagNever fires

The visitor fills the form and clicks submit, but validation fails without a message, so every later step is lost.

The click that goes nowhere

The visitor clicks submit, the form is blocked, and no message explains why.

How to check if your site has it

Test the form by hand
  1. Submit it empty

    Open the page in a private window and click submit with every field blank. You should see a clear message next to each required field.

  2. Submit it with one bad value

    Enter an invalid email such as name@ and fill the rest. An error should appear on the email field.

  3. Open the browser console

    Press F12, open Console, and click submit. A red JavaScript error at that moment points to a broken submit handler.

  4. Look for hidden invalid fields

    In the console run document.querySelectorAll('form :invalid'). Any field listed that is not visible on screen is a likely blocker.

  5. Check on mobile and in other browsers

    Some tooltips and scripts behave differently on Safari and on phones. Test at least one iPhone or Android browser.

List invalid fields and whether they are visible (paste in the console)javascript
document.querySelectorAll('form :invalid').forEach(el => {
  const visible = !!(el.offsetWidth || el.offsetHeight || el.getClientRects().length);
  console.log(el.name || el.id, 'visible:', visible, el.validationMessage);
});

How to fix it

Work out which cause applies, then make sure every failing rule produces visible text near the field. The general fix is the same everywhere: remove or fill hidden required fields, show errors in the page, and move focus to the first problem.

Fix the silent failure
  1. Find the blocking field

    Use the console snippet above. If the invalid field is hidden, remove its required attribute, or make it visible, or disable it when hidden.

  2. Add visible error text

    Every field needs an error element that is shown when the rule fails. Use plain words such as "Enter a valid email address".

  3. Do not rely only on browser tooltips

    If the form uses novalidate, you must render errors yourself. Otherwise remove novalidate so the browser shows its own messages.

  4. Fix script errors

    Resolve the console error, or remove the conflicting plugin or script that cancels the submit event.

  5. Pass server errors back

    If the server rejects the data, return the reason and display it above or beside the field instead of failing quietly.

  6. Scroll to the first error

    Move focus to the first invalid field so the message is on screen, especially on long forms and phones.

Where to change it on your platform
  1. Check the form plugin settings

    In your form plugin (Contact Form 7, Gravity Forms, WPForms and similar), open the form's messages or validation settings and make sure error messages are enabled and not empty.

  2. Rule out conflicts

    Temporarily deactivate optimisation or JavaScript-delay plugins, and switch to a default theme on a staging copy, to see if the message returns.

  3. Review conditional fields

    If a hidden conditional field is required, set it to required only when shown.

Accessible inline error messagehtml
<form id="lead" novalidate>
  <label for="email">Email</label>
  <input id="email" name="email" type="email" required aria-describedby="email-error">
  <p id="email-error" role="alert" hidden></p>
  <button type="submit">Send</button>
</form>
<script>
  const form = document.getElementById('lead');
  form.addEventListener('submit', (e) => {
    const email = form.elements.email;
    const err = document.getElementById('email-error');
    if (!email.checkValidity()) {
      e.preventDefault();
      err.textContent = 'Enter a valid email address.';
      err.hidden = false;
      email.focus();
    } else {
      err.hidden = true;
    }
  });
</script>
What the visitor sees

Before

  • Click submit, nothing changes
  • A hidden required field blocks the form
  • No text explains what to fix
  • Visitor leaves, no lead is recorded

After

  • Click submit with a problem, a clear message appears
  • The page scrolls to the first problem field
  • Hidden fields are no longer required
  • Valid forms reach the thank-you page
Try it: silent validation on or offInteractive
Validation errors are hidden

Errors hidden

Leads or data lost

The visitor clicks submit, nothing visibly happens, and they leave without sending the form.

Toggle the cause to see how one missing message changes the outcome.

How to confirm it's fixed

Confirmation checks
  • Submitting the empty form shows a message next to each required field
  • An invalid email shows a clear message and focus moves to it
  • document.querySelectorAll('form :invalid') lists no hidden fields on load
  • No red errors in the console when you click submit
  • A valid test submission reaches the thank-you state
  • The test lead arrives in your inbox and CRM
  • The same checks pass on a phone and in a second browser

How to prevent it happening again

Silent failures usually appear after a change: a new plugin, a theme update, a field added to the form or a script pasted into a tag manager. Re-test the form after each of those. Avoid making a field required if it can be hidden, and keep error text in the design system so it is never removed by accident.

How FunnelGuard handles this

FunnelGuard detects this today. A robot visitor fills in your form on a schedule, submits it and then checks for the success state, such as a thank-you page or confirmation message. If the submit does nothing and that success check fails, the run is marked as failed.

The failure is re-checked from a second region first, then one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. The check shows that the submit did not succeed; it does not tell you which field was invalid, so use the steps above to find it. Test traffic is marked (utm_source=funnelguard, fg_test=1) and never bypasses CAPTCHAs. The Free plan covers 1 site and 2 journeys with daily checks, no card needed.

Questions people ask

Why does my form do nothing when I click submit?

Usually a validation rule is failing without showing a message. Common causes are a hidden required field, a script error that stops the submit, or custom validation that never displays errors. Check the browser console and look for invalid fields.

How do I find which field is blocking my form?

Open the browser console and run document.querySelectorAll('form :invalid'). It lists every field that fails validation. If one of them is not visible on the page, that hidden field is probably blocking the submit.

Why is my form validation error message not showing?

The error element may be missing, empty or hidden by CSS, or the form uses novalidate without custom code to display errors. On Shopify Liquid forms, the form.errors output may be missing from the theme.

Can a hidden required field stop a form from submitting?

Yes. Browsers refuse to submit if a required field is empty, even when it is hidden, and often cannot show a tooltip for it. Remove required from hidden fields or only require them when shown.

Can a plugin or tracking script make a form fail silently?

Yes. A script that calls preventDefault on the submit event, or one that throws an error, can stop the form without a message. Disable plugins and tag manager scripts one at a time to find the cause.

How can I test whether my form shows validation errors?

Submit it empty and again with a bad email, then check each time that a clear message appears next to the field. Repeat on a phone and in a second browser, because behaviour can differ.

How do I know if visitors are hitting a silent form failure?

Look for page views with no submissions and no error in your records. A scheduled test that submits the form and checks for a success state, as FunnelGuard does, will flag it when the submit stops working.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: submit then success assert fails.

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.