Webform Spam Words in Drupal to Block spam based on keyword strings

Webform Spam Words

Webform Spam Words Drupal (WSW)

Module: https://www.drupal.org/project/webform_spam_words

Avoid Spam words on Webform Drupal
It's a simple module for webform validation with spam keywords. Administrators can provide the access to add spam keywords, Error message and field name.

Installation

  1. Place the module folder in your modules folder or try with composer
  2. Make sure you have the webform module enabled or try with drush en
  3. Activate the module via admin/modules

Usage Steps

  • Enable the "Webform Spam Words" module
  • Go to configuration: /admin/config/webform/webform-spam-words and add the keywords, error message and field name.
  • Go to the specific webform and add the spam handlers. For example: /admin/structure/webform/manage/contact/handlers
  • Click on "Add handler" button to add "Webform Spam Words" for the specific webforms.

Config page:

URL: /admin/config/webform/webform-spam-words
Once finished clear your drupal caches.

 

Webform Spam words Thirstysix

Webform Spam words ThirstysixWebform Spam words ThirstysixWebform Spam words ThirstysixWebform Spam words ThirstysixWebform Spam words Thirstysix

Comments

I have tried this module and cant seem to get it to work. I have followed all the instructions listed and the words listed don't seem to trigger it not to send. Help!!

In reply to by Maritza Wright (not verified)

It works well. Please follow the instructions as per in the screenshot & use the latest version. Can you please share the errors?

Just installed in Drupal 8 and it's working great. I added a hyperlink in the error message with another method of contacting us.

It would be nice if the webform field names area could hold more much more text. Some of our forms have fields like, "Tell us what could have made your visit even better"

I spent the night troubleshooting. The module worked on some sites but not others. I had to use "how_can_we_help" in the Webform Field name(s). If I used "How can we help?" the module didn't work.

Now it's great!

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
13 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.