Using Gravity Forms conditional logic to prevent spam

[ad_1]

I'm hoping to get some feedback on this. It seems to be working quite well.

I've been adding a field to my forms that ask a very simple question. Such as "What is x + x?" Or "How many days are in a leap year?" And then in the field description I'll say "Write the correct answer in the field below" and label the field something like "Anti-Spam Challenge".

And then I'll integrate conditional logic on the form submission. The conditional logic only sends the notification if the field had the correct answer. On the front end, it will appear to submit no matter what they wrote in the field.

I've accepted there's no way to prevent actual human beings from submitting BS form entries, but so far, not a single bot message has been sent.

Thoughts about this approach?

[ad_2]
10 Comments
  1. The honeypot feature adds a dynamic hidden field that would only be filled in if a bot were doing it. It changes everytime you reload the page. Your method is a bit rudimentary, and you’d have to manually change it all the time.

  2. I just use the honeypot approach which gets rid of 99% of spam and doesn’t inconvenience customers at all.

  3. Both Gravity Forms and Formidable Forms offer the Captcha that Cloudflare provides. It is very very powerful and catches most jokers playing games on your site. Before enabling recaptch on a website I worked on, this poor women was getting thousands of spam forms being submitted to the point her shared Webserver kept crashing on her.

  4. Yes, this is a classic anti-spam technique.

    Personally I don’t use anything that impedes the user flow so usually go with CloudFlare Turnstile or other transparent method, especially if the form is lead generating.

  5. As other have mentioned, I’ve also had great success with Cloudflare Turnstile lately.

    Another option is using conditional logic on the submit button itself; for example, I’ve set it up so the submit button is hidden if the message field contains “http.” Prevents the form from being submitted at all.

    Good luck!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer