How to protect a public form from spam
A form open to anyone always gets some junk. On Fabapp, the platform limits visitor attachments and bulk record creation, and it protects your storage. The rest is your decision in the app: who reads the responses, what the confirmation email says and how the team discards what is worthless.
The example is Bridge Language School, a fictional school that receives trial class requests through its website.
What kind of spam a form gets
Almost all form spam falls into three groups:
- bots that fill in any form they find, with advertising links in the text fields;
- people using your form to email others, taking advantage of the confirmation message;
- mass submissions that try to fill your storage or trigger your automations hundreds of times.
Each group needs a different defense.
What the platform already does
You do not need to configure any of this:
- a limit on visitor attachments: 50 a day from the same address, plus a daily ceiling per project that depends on the plan, from 100 attachments on Free to 5,000 on Enterprise;
- limited bulk creation: without a login, one call creates at most 20 records;
- visitor files use at most 30% of the plan's storage, and each file is at most 5 MB;
- every uploaded file is checked on the server, and only images and PDF get in.
These limits look after your storage. They do not stop someone from sending the form many times, one submission at a time, and they do not stop each submission from triggering your notifications. The decisions below deal with that.
What you decide in the app
Almost everything here works on any plan. Two things run in a backend function and need the Starter plan or above: the confirmation email to someone who submitted without an account, and the daily summary with the numbers.
Reading only with a login
The form can be open, but the list of responses cannot. When anyone can create a record and only the team can read it, someone with the link can submit and cannot see anything. That takes away the reason to post links on your form: no visitor will ever read what the spammer wrote. You check the rule on the Data tab, under Permissions.
Everything comes in as new
No submission should appear to other people on its own, like a testimonial published straight to the site. Ask for each submission to come in with the status new and for someone on the team to approve whatever becomes public.
A confirmation with fixed text
The confirmation email should be a fixed text with your business name, without repeating the message the person typed. That way nobody can use your form to send their own text to a third party with your name as the sender.
Fields that filter on their own
Fields with a validated format stop a good share of bots: a mobile number with a valid format, a valid email, a list of options instead of a free text field. A long free text field is where spam settles in, so ask only for the ones you will read.
A daily summary instead of one notification per submission
If every submission sends a notification to your team, one bad day fills everyone's inbox. One summary a day of the new requests is easier to read and does not turn into a flood.
A quick way to discard
Ask for a spam status and a filter that hides those records from the main list. Discarding becomes one click, and the dashboard shows how many arrived, which helps you notice when an attack has started.
If the form receives files
With visitor attachments the care is the same, with one advantage: the file stays private and opens only for people who can read the record. The guide on a form with file upload without a login shows how to turn attachments on, and the visitor attachments documentation lists every limit.
A ready request to build your own
Build an app for Bridge Language School, with a public form, no login, to book a trial class: name, email, a validated mobile number, the level the person thinks they have and their preferred time; each request comes in with the status new and only the team, signed in, can see it; the team marks each request as booked, discarded or spam, and the ones marked as spam leave the main list; the confirmation email to the person who signed up is a fixed text with the school's name, repeating nothing they typed; one email a day to the front desk with a summary of new requests, instead of one notification per submission; and a dashboard only I can see with requests per day, by status and how many were marked as spam.
Free to start. The first version arrives in a few minutes and you refine it by chatting.