7

I have applied the Honeypot module to my site and set it to protect all forms on the site.

The problem is I am unsure of how to test it to know that it is working as expected.

Can anyone tell me how to do this?

6

Open up firefox or chrome, and inspect the form (using firebug or any equivalent). If you see any element with the class 'honeypot-*' and a label 'Leave this field blank'. Then its a honeypot field and its enabled.

enter image description here

To check if it works. Make the element visible by changing display: none to display: block, enter a value into the input box and hit submit. The validation should fail.

  • Also, try enabling logging in Honeypot's settings, then check your Recent Log Entries page (in the Reports section of your site) after a day or two. I bet you'll find a few blocked spam attempts (or hundreds!). – geerlingguy Mar 26 '13 at 0:27
  • 3
    Something that tripped me up for a few minutes: If you are logged in as "Admin", honeypot will not add the fields. Log out and check it again. – Mark Jul 7 '16 at 19:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.