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'

2. Create your form

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

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

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

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>

<aside> ⚠️ Important! The code has to contain your form's name. Simply add the name of your form in there without capital letters and spaces.

</aside>