HoneyPot - Eonic/ProteanCMS GitHub Wiki

A honeypot field is a hidden field to prevent automatic robots from submitting forms. A robot will find a form and attempt to fill in all fields.

If this hidden filed has content we know it is invalid as a user would never add content to a hidden fields.

The field is hidden after page load using javascript

For an Email Form in Protean Add the following to Binds at the end

<bind nodeset="Email">
<bind id="UserEmail" nodeset="@honeypot" constraint="ews:emailer/ews:oBodyXML/ews:Items/ews:Email/@honeypot=''" />
</bind>

Then add the following to controls at the beginning

<input bind="UserEmail" class="jsHide" />



⚠️ **GitHub.com Fallback** ⚠️