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>
Our form should look like this now:
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:
Now we add a condition: does the cotact have the email2 field filled out?
If the value is yes, in other words, the person has an Email2 field value, than we have to delete it.
Donβt have time? π©βπ» Contact us and weβll implement and design for you.