Website contact form not working and showing an error

Website Contact Form Not Working? 10 Common Causes & Fixes

If your website contact form is not working, you could be losing enquiries without even knowing it.

Sometimes the problem is obvious. A visitor clicks Submit and gets an error message, the button does nothing or the form sits there spinning indefinitely.

Other faults are much harder to spot.

The visitor may see a success message while the enquiry never reaches you. A form might work on desktop but fail on mobile, reject genuine customers as spam or suddenly stop working after a website update.

The good news is that most contact form problems can be diagnosed and repaired without replacing the form or rebuilding your website.

The first job is to establish exactly where the process is failing.

Are website enquiries failing to reach you?

Send us your website address and tell us what’s happening. We’ll investigate the form and work out what needs fixing.


Get Your Contact Form Checked

What Does a Broken Website Contact Form Look Like?

“Contact form not working” can mean several different things.

For example:

  • nothing happens when the Submit button is clicked
  • the form keeps loading or spinning
  • an error appears after submission
  • required fields won’t validate correctly
  • CAPTCHA or spam protection blocks genuine visitors
  • the form works on desktop but not mobile
  • file uploads fail
  • the visitor sees a success message but you receive no email
  • confirmation emails don’t arrive
  • the form suddenly stopped working after an update

Those symptoms matter because a form that won’t submit at all is a different problem from a form that submits correctly but fails at the email-delivery stage.

Before changing anything, test the form yourself and make a note of exactly what happens after you click Submit.

Common causes of a website contact form not working

1. A JavaScript Error Is Stopping the Form

Modern website forms often rely on JavaScript to validate fields, submit information in the background and display success or error messages.

If that JavaScript fails, the form can appear perfectly normal until somebody tries to use it.

Typical symptoms include:

  • the Submit button doing nothing
  • a loading icon that never finishes
  • fields or messages not appearing correctly
  • the page jumping or refreshing unexpectedly

The error itself may come from the form plugin, but it can also be caused by the theme, another plugin, custom code or a third-party script.

This is why simply reinstalling the form plugin doesn’t necessarily solve the problem.

Browser developer tools can reveal JavaScript errors and failed network requests, which can provide useful clues about where the submission is breaking.

2. A Plugin or Theme Is Conflicting With the Form

A contact form doesn’t operate in isolation from the rest of the website.

Other software can alter JavaScript, security rules, page behaviour, email handling or the way requests are processed.

Potential conflicts can involve:

  • caching and optimisation plugins
  • security plugins
  • spam protection
  • cookie consent systems
  • page builders
  • email or SMTP plugins
  • the WordPress theme
  • custom code

If the form stopped working immediately after a plugin, theme or WordPress update, that timing is useful evidence.

Elementor’s own form troubleshooting guidance recommends conflict testing when forms fail, including testing other plugins and the theme where appropriate.

But don’t casually disable important plugins on a busy live website simply to see what happens.

A controlled test, preferably with a backup or staging copy where practical, is much safer.

3. CAPTCHA or Spam Protection Is Blocking Genuine Enquiries

Spam protection is essential on public contact forms, but it can also become part of the problem.

A form may use services such as:

  • Cloudflare Turnstile
  • Google reCAPTCHA
  • Akismet
  • honeypot fields
  • plugin-specific anti-spam systems

If the configuration is wrong, keys are invalid or a legitimate submission is classified as suspicious, genuine visitors can be prevented from contacting you.

Contact Form 7, for example, can reject a submission it considers to be spam. Its official troubleshooting FAQ explains that some form errors can represent spam detection rather than a mail-server failure.

If a form fails only for certain messages, email addresses, devices or users, spam protection is worth investigating.

Don’t solve the problem by simply removing all anti-spam protection permanently. A better fix is to establish which protection is causing the false positive and configure it correctly.

4. The Form Configuration Is Wrong

Sometimes the problem is inside the form itself.

Forms contain more configuration than the fields visitors can see.

Depending on the system, that can include:

  • field names and IDs
  • required-field rules
  • email recipient settings
  • sender addresses
  • reply-to headers
  • confirmation actions
  • integrations with other services

For example, Contact Form 7 includes a configuration validator specifically designed to identify potentially troublesome form settings. Its official configuration error guide covers problems including invalid mailboxes, sender addresses, headers and form controls.

Elementor forms can also fail validation when field IDs are missing or duplicated, or when third-party integrations and field mappings are incorrect.

A form can therefore look fine on the page while containing a configuration error behind the scenes.

5. The Form Submits but the Email Isn’t Delivered

This is one of the most common contact form problems – and also one of the easiest to misunderstand.

The form itself may be working perfectly.

The visitor clicks Submit, the website processes the information and displays:

“Thank you. Your message has been sent.”

But nothing arrives in your inbox.

At that point the investigation shifts from form submission to email delivery.

Possible causes include:

  • incorrect From addresses
  • hosting mail restrictions
  • messages being treated as spam
  • poor email authentication
  • problems with WordPress mail
  • SMTP configuration

Elementor confirms that its forms use WordPress’s mail functionality and recommends investigating the server/mail configuration when messages aren’t being delivered.

We’ve covered this particular problem in more detail in our guide: WordPress Contact Form Not Sending Emails.

The important point here is not to rebuild a working form when the real fault is what happens to the message after the form has accepted it.

6. Caching or Website Optimisation Is Interfering With the Form

Website optimisation can occasionally break functionality that previously worked.

Contact forms are particularly sensitive because they can depend on JavaScript, dynamic requests and security tokens.

Potential causes include:

  • JavaScript being delayed
  • scripts being combined or minified
  • page caching
  • CDN optimisation
  • aggressive performance settings

If the form stopped working immediately after somebody installed a caching plugin or changed optimisation settings, that’s worth investigating.

A quick cache purge may appear to fix the problem temporarily, but the proper solution is to identify which optimisation rule is interfering with the form.

You shouldn’t have to choose between a fast website and a working contact form.

7. A Server, PHP or WordPress Request Is Failing

A contact form submission may need the website to process a background request before anything can be sent or stored.

If that request fails, the visitor may simply see a spinner or generic error.

Possible underlying issues include:

  • PHP errors
  • server security rules
  • resource limits
  • failed AJAX or REST requests
  • plugin errors
  • hosting configuration problems

On WordPress websites, Tools → Site Health can sometimes provide useful clues about wider technical problems.

WordPress’s official documentation confirms that Site Health tests include areas such as REST API availability and loopback requests used by WordPress and plugins.

Server and PHP error logs can also be valuable because the friendly message displayed to a visitor may hide a much more specific error behind the scenes.

8. File Uploads Are Breaking the Submission

If your form allows visitors to upload CVs, photographs, documents or other files, test the form both with and without an attachment.

Upload problems can be caused by:

  • files being too large
  • unsupported file types
  • PHP upload limits
  • server restrictions
  • security rules
  • incorrect form configuration

A useful clue is a form that works perfectly until a file is attached.

Contact Form 7’s configuration checks specifically warn where a form allows an upload larger than the server’s PHP upload_max_filesize limit.

Don’t simply increase upload limits to enormous values without considering security and storage. The sensible limit depends on what visitors genuinely need to send.

9. The Form Is Out of Date or No Longer Compatible

A form that has been sitting quietly on a website for years can eventually encounter compatibility problems.

The website around it changes.

WordPress gets updated. PHP changes. Themes and page builders evolve. Browser behaviour changes. Third-party integrations change their APIs.

Problems become more likely where:

  • the form plugin is very old
  • the website is running an outdated PHP version
  • the theme hasn’t been maintained
  • the form depends on an abandoned add-on
  • only part of the site’s software has been updated

That doesn’t mean the correct response is to click Update Everything on a live business website and hope for the best.

If the site is significantly behind, take a backup and approach updates in a controlled way.

Sometimes a form breaks because something was updated.

Sometimes it breaks because something wasn’t.

10. The Form Works – But Nobody Is Monitoring the Enquiries

This sounds almost too simple, but it’s worth checking.

A technically functioning form can still create the impression that enquiries are being lost if:

  • messages are going to an old employee
  • the recipient address was changed
  • mail is being filtered into another folder
  • a mailbox is full or disabled
  • the form stores submissions but nobody checks them

If your form system stores submissions in the website database, check those records.

Elementor Pro, for example, can store form entries under Elementor → Submissions. If the enquiry appears there but not in the inbox, that’s strong evidence that the form submission itself succeeded and the problem is further down the delivery chain.

This distinction can save a lot of unnecessary troubleshooting.

Why Does My Contact Form Just Keep Spinning?

A form that displays a loading spinner indefinitely is usually waiting for something that never completes correctly.

Common areas to investigate include:

  • JavaScript errors
  • failed background requests
  • plugin conflicts
  • server errors
  • security software blocking the request
  • caching or optimisation

Contact Form 7 specifically includes a permanently spinning submission icon among the problems covered by its official troubleshooting documentation.

The spinner itself isn’t the fault. It’s a symptom that the expected response hasn’t completed.

Why Does My Contact Form Say There Was an Error Trying to Send the Message?

Don’t assume that every generic form error means exactly the same thing.

For example, Contact Form 7’s familiar:

“There was an error trying to send your message.”

can be associated with either mail-sending trouble or spam detection.

Other form systems may use similarly broad messages for several underlying faults.

That’s why the visible error is only the starting point.

The form configuration, browser requests, submission records, mail logs and server logs can provide much better evidence about what actually failed.

Why Does My Contact Form Work for Me but Not for Customers?

This can happen when the failure depends on the visitor rather than affecting every submission.

Differences can include:

  • browser
  • mobile versus desktop
  • cookie or privacy settings
  • spam score
  • email address
  • message content
  • file attachment
  • logged-in versus logged-out status

Try to reproduce the customer’s actual circumstances.

If somebody reports that your form doesn’t work, asking which device they used and what happened after clicking Submit can be much more useful than testing it once yourself and concluding:

“It works for me.”

What Should I Check First When a Website Contact Form Stops Working?

Start with the timeline.

Ask:

  • When did you last receive a genuine enquiry?
  • Can you reproduce the problem?
  • Does the form show an error or success message?
  • Was WordPress, the theme or a plugin recently updated?
  • Were caching or security settings changed?
  • Was CAPTCHA or spam protection changed?
  • Did the website move to another server?
  • Were email or DNS settings changed?

Then test the stages separately.

Can the visitor submit the form?

Does the website record or process the submission?

Does the website generate the email?

Does the email actually reach the destination inbox?

That approach is much faster than randomly changing settings until something appears to work.

Does a Broken Contact Form Need Replacing?

Usually, no.

If the form previously worked, there is normally a reason it has stopped.

It might be a JavaScript conflict, an email problem, an expired integration, a server error, spam protection or a configuration issue.

Replacing the whole form without diagnosing the fault can simply replace a perfectly good form while leaving the real problem untouched.

Web Medic’s starting point is straightforward:

find what’s broken and repair it.

We don’t need to have built your website, and the form doesn’t have to be WordPress or Contact Form 7.

Our Website Repair Services cover broken website functionality, while our WordPress Support service covers WordPress-specific problems where required.

Website Contact Form Problems – Frequently Asked Questions

Why is my website contact form not working?

A website contact form can stop working because of JavaScript errors, plugin or theme conflicts, spam protection, incorrect configuration, email-delivery problems, caching, server errors or outdated software. Establishing whether the form fails before or after submission helps narrow down the cause.

Why does nothing happen when I click Submit on my contact form?

If the Submit button does nothing, a JavaScript error, failed background request, plugin conflict or optimisation setting may be preventing the form from processing the submission. Browser developer tools and server logs can help identify the underlying error.

Why does my contact form keep spinning?

A continuously spinning form is normally waiting for a request that hasn’t completed correctly. JavaScript errors, server problems, security rules, plugin conflicts and caching or optimisation can all cause this behaviour.

Why does my contact form say sent but I don't receive the email?

If the form displays a success message, the form submission itself may be working while the notification email is failing to reach you. Sender configuration, WordPress mail, SMTP, hosting restrictions, spam filtering and email authentication are among the areas worth checking.

Can CAPTCHA stop a contact form working?

Yes. CAPTCHA and other anti-spam systems can occasionally reject legitimate submissions or fail because of configuration, keys or integration problems. The answer is normally to diagnose and correct the spam protection rather than permanently removing it.

Should I replace a contact form that has stopped working?

Usually not. If a form previously worked, it is normally better to identify what changed and repair the underlying fault. Replacing the form without diagnosis may leave the real JavaScript, server, email or website problem unresolved.

Can Web Medic fix a broken website contact form?

Yes. We can investigate and repair contact forms on existing websites, including submission errors, email problems, plugin conflicts, spam protection and server-related faults. We don’t need to have built or hosted the original website.

Website Contact Form Still Not Working?

If your contact form isn’t working properly, every missed message could be a missed customer.

Send Web Medic your website address and tell us what happens when you test the form.

If there’s an error message, include that too.

We’ll investigate where the process is failing and work out the sensible way to get your enquiries flowing again.