Title: Blocking spammy values
Last modified: January 31, 2025

---

# Blocking spammy values

 *  [SiteBolts](https://wordpress.org/support/users/sitebolts/)
 * (@sitebolts)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/blocking-spammy-values/)
 * Hi there,
 * We’re using this plugin to collect form submissions from one of our Contact Form
   7 form (via the “.wpcf7-form, .submitting” selector) and send them to our HubSpot
   account.
 * Everything is generally working correctly but we noticed that it’s not taking
   our anti-spam rules into account.
 * For example, a bot keeps submitting spam entries with “noreply@gmail.com” in 
   the email field, so we added that email address to wp-admin > Discussion > “Disallowed
   Comment Keys” which successfully marks it as a spam entry in Contact Form 7 but
   isn’t preventing it from being sent to our HubSpot account.
 * > [View post on imgur.com](https://imgur.com/me3MGyl)
 * Is there a way to prevent the plugin from sending the form entries to Hubspot
   if certain values are present? We would ideally like it to reference the existing“
   Disallowed Comment Keys” list so that it matches Contact Form 7’s validation,
   but we could also use a separate list somewhere including a PHP hook.

Viewing 1 replies (of 1 total)

 *  Plugin Support [harthur1990](https://wordpress.org/support/users/harthur1990/)
 * (@harthur1990)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/blocking-spammy-values/#post-18291101)
 * Hi [@sitebolts](https://wordpress.org/support/users/sitebolts/) Thanks for your
   message,
 * You would need to prevent the form submission or;
 * create a workflow on HubSpot that delete contacts matching a criteria ( which
   unfortunately is not available on a free tier) or;
 * use a third party cleaning integration that automates this or do it manually 
   by creating a active list that matches all contacts with a certain filter and
   then you can delete those contacts
 * Best regards

Viewing 1 replies (of 1 total)

The topic ‘Blocking spammy values’ is closed to new replies.

 * ![](https://ps.w.org/leadin/assets/icon-256x256.png?rev=3041936)
 * [HubSpot All-In-One Marketing - Forms, Popups, Live Chat](https://wordpress.org/plugins/leadin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leadin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leadin/)
 * [Active Topics](https://wordpress.org/support/plugin/leadin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leadin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leadin/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [harthur1990](https://wordpress.org/support/users/harthur1990/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/blocking-spammy-values/#post-18291101)
 * Status: not resolved