8

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?

1 Answer 1

7

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.

3
  • 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!). Commented Mar 26, 2013 at 0:27
  • 5
    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
    Commented Jul 7, 2016 at 19:35
  • Mark's comment should be in the documentation of that module.... I was struggling about this "issue" for 1 hour...thanks @Mark!
    – DarkteK
    Commented Jan 29, 2021 at 18:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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