What is a spam filtering?

Spam filtering is the automatic sorting of form submissions into real messages and junk, so that junk does not reach your inbox.

Any public form attracts bots that post adverts, links and scam messages. A spam filter looks at each submission for signs of automation or junk: a filled honeypot field, a form sent faster than a person could type, suspicious links or wording, or too many submissions from one source.

Filtering usually happens in layers, because no single check catches everything. The aim is to stop junk without making real visitors do extra work, and without losing a real message. For that reason good filters set suspected spam aside for review and do not delete it.

Filtering has to run on the server, since anything in the page can be bypassed. FormTango filters spam automatically on every form. Adding a hidden field named _gotcha gives it a honeypot to check, and its API can list submissions with or without the ones marked as spam.

Related