[Plugin: Contact Form 7] Silent Spam Trap (2 posts)

  1. L D
    Posted 5 years ago #

    Hi, I was wondering if it's possible to add a blank hidden field into the form. If the field is filled in, then it means a spambot has filled it in and the submission of the form should break. Is it possible to do something like this?


  2. jomit
    Posted 5 years ago #

    Maybe this topic went out of date but it is easy to solve with the quiz fields. Creating a quiz field with an empty answer can do that.

    For example, an quiz like

    "Please leave this field empty (spam defense)|"

    wont validate if anything is typed into that field. (Note there is nothing between the pipe and the closing quotes.)

    You can push this field aside with css

    postion : abolute; top : -999em; left : -999em;

    to prevent your users from misunderstanding the field.

Topic Closed

This topic has been closed to new replies.

About this Topic