πŸ›‘οΈ

Add spam protection

Sometimes your popularity can cause spambots to discover you. By adding a special field to your forms can stop invalid entries.

1. Add a honeypot field

Go to Settings > Custom fields

Add a new text field called Honeypot. Make sure you turn off the switch: 'Visible on forms'

image

2. Create your form

Once your form is ready, it's time to etend it. Add a new tetx field called Email2

image

Make sure you choose the Contact Field tab and add the newly created Honeypot as paired field.

image

Now add a html field. Turn off the header and give it a name. Let's call it Spamtrap.

image

Using the the Properties tab you can hide our evil Honeypot.

Add the following code:

<style>
	#mauticform_label_honeypottest_honeypot {display:none}
	#mauticform_input_honeypottest_email2 { display:none; } 
  #mauticform_label_honeypottest_email2 { display:none; }
</style>
image
⚠️
Important! The code has to contain your form's name. Simply add the name of your form in there without capital letters and spaces.
image

Our form should look like this now:

image

You see? The hidden fields are only visible to bots.

3. Create a campaign to filter out fakes

Now all the bots will fill out the non-visible Email2 field as well. Our task is to filter out anyone who has any value in Email2.

Let's create a campaign, that does just that.

The contact source should be a form:

image

Now we add a condition: does the cotact have the email2 field filled out?

image

If the value is yes, in other words, the person has an Email2 field value, than we have to delete it.

image
πŸ™‚
Any questions? We are happy to help you via πŸ“§ email or ☎️ phone.

Don’t have time? πŸ‘©β€πŸ’» Contact us and we’ll implement and design for you.