Contact Form Spam Protection: What Works for Your Website

Contact form spam protection title card

Article by

PC Scientist

PC Scientist is a professional IT support provider helping homeowners and small businesses across New South Wales. We specialise in computer repair, business IT support, networking, Wi-Fi optimisation, cybersecurity, email support, device setup and security camera solutions.

Our articles are written using practical, real-world experience to help Australians solve technology problems with clear, accurate and easy-to-follow advice. When an issue requires professional assistance, we're here to help with onsite and remote support.

The fix for contact form spam is not one clever plugin. It is a few quiet layers working together: a hidden honeypot field, a simple speed check, an invisible bot test such as Cloudflare Turnstile or reCAPTCHA v3, and a check on the server that receives the form. Done together, they keep junk out of your inbox without making real customers jump through hoops. If your site was built for you and you would rather not touch code, our Web Design Scientist and Email Systems Scientist teams can look after this as part of your website and email setup.

Key takeaways

  • Most contact form spam comes from bots that crawl the web and submit forms in bulk. A smaller share is typed by paid humans, according to SendLayer's guide.
  • One layer is never enough. A honeypot, a time check, an invisible challenge and server-side validation each catch what the others miss.
  • Honeypot first, then an invisible challenge (Turnstile or reCAPTCHA v3). Add a visible CAPTCHA only if spam still gets through.
  • The widget on the page does nothing on its own. The token it creates has to be checked on the server, or bots simply skip it.
  • If this is more than you want to deal with, we can set it up for you on your NSW business website.

Why your contact form gets spam in the first place

Spammers do not visit your site. Software does. Bots crawl the web looking for open forms and fill them with links, fake enquiries and promotional text, which clutters your inbox, pollutes your enquiry records and wastes your time, as Zoho's form guide describes.

It is rarely personal. Bad actors spam forms because they think there is something to extract. One common driver is ad click fraud, where bots click ads and fill in forms to trigger conversion events, which can drain an advertising budget, according to Stytch's write-up. If you run Google Ads for your plumbing, cleaning or accounting business, a flood of fake enquiries can also muddy the numbers you use to judge whether the ads work.

There are two sorts of spam to keep apart, because they need different fixes:

  • Bot spam: hundreds of junk messages, often with random text or links, arriving in bursts.
  • Human spam: a person (often paid) submitting a sales pitch or SEO offer by hand. It looks real, so it needs a different kind of filter.

And one that is not really form spam at all: fake messages that try to trick you or your staff into clicking something. That is phishing, and our guide to phishing email examples shows how to spot it.

The layers that stop contact form spam

Each layer has a job and a blind spot. Formward's layer-by-layer guide lays the limits out clearly, and they are worth knowing so you do not rely on the wrong one.

Layer What it stops What it misses
Honeypot (hidden field) Scripts that fill in every field Bots that skip invisible fields
Time trap Scripts that post instantly Bots that wait a few seconds
Rate limiting One source flooding the form Spam spread across many sources
Invisible challenge Most automated browsers Human spammers
Server-side validation Anything that skips the browser rules Nothing on its own, it is the safety net

Read the table from top to bottom and you see why a stack beats a single tool. A bot that dodges the honeypot may still trip the time trap. A bot that passes both still needs a valid token from the challenge. And whatever slips through still has to survive checks on the server.

Layer 1: the honeypot

A honeypot is a form field that real visitors never see, because it is hidden from view and removed from the tab order. Bots that fill every field fill this one too, and that gives them away. Formcrest's documentation shows the idea: a hidden text input, and when it is filled in, the submission is accepted with a normal success message but quietly flagged as spam and never delivered. The bot thinks it won, so it does not adapt.

It costs your visitors nothing. There is no puzzle and no third-party script. The limits are real, though. Akismet points out that spambots are often set up to fill every field, and that hiding a field properly takes a little CSS which some form plugins make awkward. Treat the honeypot as your baseline, not your whole defence.

Layer 2: a time trap

A human takes at least a few seconds to fill in a name, an email and a message. A script can do it in a fraction of a second. A time trap records when the form loaded and rejects anything submitted impossibly fast. It is invisible to customers and catches the laziest bots.

Layer 3: an invisible challenge

This is where most owners meet the honeypot vs CAPTCHA question, so here is the plain version.

  • Honeypot: free, invisible, quick to add, medium strength. Great as a first layer.
  • Invisible challenge (Turnstile, reCAPTCHA v3): also invisible to the visitor, stronger, but relies on a third-party service and a check on your server.
  • Visible CAPTCHA (tick the box, pick the traffic lights): strongest against bots, but it adds a step for your customers.

SendLayer's comparison rates the honeypot as zero-friction with medium effectiveness, reCAPTCHA v3 as very low friction and high effectiveness, and the visible checkbox versions as medium friction suited to forms with heavy spam, from its method table. Its advice is to start with an anti-spam service plus a honeypot, and add a CAPTCHA only if spam still gets through. That order suits a small business: the customer on their phone in a hurry should not be the one paying for the bots.

A note on expectations. Visible puzzles are not bot-proof either. Stytch notes that services exist that solve them for a fraction of a cent. Another reason to stack layers rather than lean on one.

Turnstile or reCAPTCHA v3? Cloudflare's Turnstile checks visitors are human without visible challenges, and its Managed mode picks between a background check and a simple checkbox depending on how risky the visitor looks, according to Cloudflare's own guide. reCAPTCHA v3 works differently: it returns a score, and you decide what to do with it. Google's comparison page describes actions such as asking for extra verification, sending a message to moderation, or throttling. Crunchforms puts the trade-off neatly: Turnstile gives a simple pass or fail, while reCAPTCHA v3 gives you a 0.0 to 1.0 score you can tune form by form, per its documentation.

For a typical tradie or professional office site with one enquiry form, either works. Pick the one that suits the platform your site already runs on.

Layer 4: server-side validation (the one people skip)

This is the layer that decides whether the rest actually works. Cloudflare is blunt about it: the widget alone does not protect your form, because attackers can post straight to the form's endpoint, and a token can only be validated once, as the Cloudflare guide explains.

In plain terms: the little widget on your page hands the visitor a token. Your site must then ask the provider "is this token genuine?" before it sends you the email. If your form only shows the widget and never checks the token, you have a lock on the door and an open window beside it.

Good server-side checks also cover the basics: required fields filled in, sensible length limits on the message, and an email address that looks like an email address. Formward recommends these alongside rate limiting and disposable-email blocking.

How to set up reCAPTCHA v3 on a contact form

If your site uses reCAPTCHA v3, the sequence below follows Google's v3 documentation. It is the part where most home-built setups go wrong, so each step includes the usual slip.

  1. Register your site. In the reCAPTCHA admin console you create a key pair: a site key that goes on your pages and a secret key that lets your server verify results. Google's developer guide says the secret key must be kept safe. Where it goes wrong: pasting the secret key into the page code, where anyone can read it.
  2. Enter your domains correctly. A key is restricted to the domains you list, and a registration for example.com also covers its subdomains. Changes can take up to 30 minutes to apply, per Google's settings page. Where it goes wrong: testing straight after a change, seeing an error, and assuming it is broken.
  3. Load the script and attach it to the submit action. You either add the site key, a callback and an action name to the submit button, or call the execute function with a named action when the visitor submits. Where it goes wrong: running it when the page loads. Tokens expire after two minutes, so a visitor who takes a while writing a long message sends a dead token.
  4. Verify the token on the server. Your server sends the token and the secret key to Google and receives a response with a success flag, a score from 0.0 to 1.0, the action name, a timestamp and the hostname. Where it goes wrong: skipping this step entirely, which is the single most common mistake.
  5. Choose a threshold. Google's default suggestion is 0.5. It also recommends running first without taking action, then picking thresholds based on your real traffic in the admin console. Where it goes wrong: setting it too high and quietly blocking genuine customers. Hold borderline scores for review rather than deleting them.
  6. Keep test and live sites on separate keys. Google's FAQ advises a separate key for testing because v3 scores rely on real traffic and can be inaccurate on a staging site.

That FAQ also notes that moving from v2 or v3 to reCAPTCHA Enterprise takes about 5 to 10 minutes with no code changes, which is useful to know if your site is older and you are weighing up an upgrade.

If you read those six steps and thought "I just want enquiries to arrive", that is a fair reaction. This is exactly the sort of job that is quicker to hand over.

Match the fix to the kind of spam you see

HubSpot's documentation maps each type of junk to a control, and the same thinking works on any website. From HubSpot's spam guide:

  • Large volumes of automated submissions: a bot challenge such as reCAPTCHA.
  • Fake or throwaway email addresses: block free-email domains or disposable addresses, if your customers are businesses.
  • Random-character gibberish: gibberish detection.
  • Repeated junk from the same place: exclude that source.

HubSpot also lists suspected spam in a separate place for review rather than deleting it, which is a good habit. A false alarm should never cost you a real customer. Ask yourself, honestly, how much one lost enquiry is worth to your business. For a plumber, electrician or accountant, one missed job usually outweighs a week of deleting junk.

A simple plan for a small business site

Here is the order we would work through for a typical small business website with one contact form:

  1. Add a honeypot field and a time check.
  2. Add an invisible challenge (Turnstile or reCAPTCHA v3) and verify its token on the server.
  3. Add length limits, required fields and email format checks on the server.
  4. Send flagged messages to a review folder, not the bin.
  5. Watch the results for a few weeks, then tighten or loosen as needed.
  6. Only if bots still get through, add a visible checkbox.

The forms-to-inbox path matters too. Spam that lands in your inbox is an email problem as well as a website problem. If your own messages or your forms' notifications are being filtered, or you want your domain properly protected, our guide to how SPF, DKIM and DMARC stop email spoofing explains the email side in plain language.

Where we come in

Most of our customers are not asking for a honeypot. They are asking why their website enquiries have turned into a pile of junk, or why real ones are not arriving. That sits across three things we do: web design, email and Microsoft 365 support, and cybersecurity.

Our approach is built for people who do not want to learn the jargon. You do not need to know whether you need a honeypot or a score threshold, or which service to ask for. Tell us what is happening, for example "my contact form is full of junk" or "enquiries stopped arriving", and we work out the rest. We offer clear upfront pricing and no fix, no fee repairs, and we aim to cover several devices and issues in a single visit, with privacy and security put first at every step.

PC Scientist

We work onsite and remotely across NSW, including Sydney, the Central Coast, Newcastle, Wollongong and the Southern Highlands. You can reach us through the Email Systems Scientist page or start from pcscientist.com.

Our view on contact form spam

Spam protection is one of those jobs that looks small until it costs you a customer. We have seen the pattern often enough to say this: the answer is almost never a single tool. It is a few quiet layers, set up so your customers never notice them and your inbox finally does.

We care most about the part nobody sees. A widget on the page feels like protection, but unless the form's server checks it, bots walk straight past. We would rather get that unglamorous step right than add another puzzle for your customer to solve.

Your website, your email and your security are one system. When they are set up by the same people, a spam problem does not bounce between a web designer, an email host and a security person. That is the reason we organise our work the way we do, and why we would rather fix the cause than keep deleting the symptoms.

PC Scientist

Sources

Help centre

Frequently Asked Questions

Straight answers about Contact Form Spam Protection: What Works for Your Website - without jargon or pressure. Call 0493 563 381 for advice, or get help below.

Clear pages Phone-friendly Enquire button Quoted build Whole NSW

Want the quickest answer? 0493 563 381 for free advice.

A honeypot plus an invisible challenge such as Cloudflare Turnstile or reCAPTCHA v3, with the token checked on the server. That combination blocks most bots without adding a step for real customers. Add a visible CAPTCHA only if junk keeps arriving.

Start with a honeypot, because it is free, invisible and takes one extra field. It is only a medium-strength layer, so pair it with an invisible challenge. A visible CAPTCHA is the last resort for forms under heavy attack, because it asks something of every visitor.

The steps are short: register keys, load the script, run it when the visitor submits, verify the token on the server and choose a score threshold. Google suggests starting at 0.5 and adjusting from your real traffic. The part people most often miss is the server-side check.

Usually one of three reasons. The token is not being verified on the server, so bots post directly. The spam is typed by a human, which a bot test cannot catch. Or the spam comes from another route, such as your email address listed on the site. A layered setup closes each gap.

Website quotes

Website work starts with Get a clear website quote. Local pages help you find Web Design Scientist in your area. It is a different path from the IT booking flow, on purpose.

Web design statewide

Get a clear website quote

Start here

Get a website quote

Optional Need a Sydney city or region?

Choose a side of Sydney

These are Sydney cities and regions, such as the Northern Beaches or Inner West. First tap a side of Sydney. Then open the city or region that covers you.

C Sydney City / Inner 3 areas
N Northern Sydney 5 areas
NW North-West / Central Sydney 3 areas
W Western Sydney 1 area
SW South-West Sydney 3 areas
S Southern Sydney 2 areas
Optional Find your suburb

Type a suburb from our listed coverage. This opens the matching city or region page for this topic. Listed suburb pages are general technology services, not this specialist page.

If your suburb is not listed, use the city or region list above, or call 0493 563 381.

    Need help with your setup? Call or text PC Scientist on 0493 563 381 for initial advice, request a callback at a suitable time, get a quote or book online to receive the advertised online-booking discount where applicable.

    Disclaimer

    The information in this article is provided for general educational and informational purposes only. While PC Scientist strives to keep all content accurate and up to date, technology issues can vary depending on your device, software, network configuration, and individual circumstances. Always back up important data before attempting repairs or system changes. If you are unsure or the issue cannot be resolved safely, contact PC Scientist today for professional onsite or remote IT support. PC Scientist is not liable for any loss of data, damage, or other issues resulting from the use of the information provided in this article.

    shape
    shape
    Need help now? Not sure what to click or what to do next?

    Talk to PC Scientist for free advice, calm and practical IT help