A hidden field for SilverStripe forms that will cause validation to fail, if filled out.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
code
README
_config.php

README

Honey Pot Spam Protection Field
===============================

Add this field to any form to introduce spam protection. It is a css-hidden field, which will fail validation if filled out.


To protect PageComments (SS 2.4+), simply add the following to your _config.php file:

	Object::add_extension('PageCommentInterface', 'HoneyPotProtectComments');
	
	
## TODO

 * Provide incorporation with spam protection module.