FormBackend logo

User Guides

Spam filtering

Ways to protect your form against spam

We offer spam filtering to make sure that you don’t receive a bunch of emails submitted by bots or malicious people. When you add a form on a webpage it’s not unusual that bots come by and fill in your form with data you aren’t intereted in.

We offer some different ways to combat spam. We do our best to filter out any spam submissions you receive, but some will always make it through and a lot of it depends on the type of website you have, country etc.

Honeypot

A honeypot is a field that we add to a form, and if the field contains any data - we mark the submission as spam. The default name is formbackend_nono. So if that field comes back with data in it, we’ll mark the submission as spam.

An example use of this could look like:

<form ..>
  <input name="formbackend_nono" style="position: absolute; left: -9999px" />
</form>

Notice how we’ve set the style-attribute on the field to have the field be placed 9999px to the left. This is done so the field appears hidden. But to many automated bots the field will appear as present and it’ll fill it with data. You can customize the name of this field under “Settings” for your form.

3rd party solutions.

These are some of the better ways to protect against spam.

Whitelisted domains

You can set up your form to only receive submissions from whitelisted domains of your choice. Let’s say your form is hosted on https://www.example.com/contact you’ll enter https://www.example.com and we’ll only accept submissions that comes form that domain. This can be configured on the “Settings”-tab of your form, under Spam and “Whitelisted domains”.

Blocked email domain

Comig soon

Valid email

Coming soon