Title: spam
Last modified: November 19, 2018

---

# spam

 *  Resolved [mibx](https://wordpress.org/support/users/mibx/)
 * (@mibx)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/spam-183/)
 * I am getting spam emails submitted from the contact form with google reCapcha
   turned on. I tried test form: without recapcha mail not sended, but spam still
   arrives..
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fspam-183%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [WD Support](https://wordpress.org/support/users/wdsupport/)
 * (@wdsupport)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/spam-183/#post-10897947)
 * Hi,
 * Could you please specify which version of the plugin are you using? make sure
   to use the last version.
 * Thanks. Have a nice day.
 *  Thread Starter [mibx](https://wordpress.org/support/users/mibx/)
 * (@mibx)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/spam-183/#post-10924454)
 * Used the last plugin version for a week. 1-2 Spam emails from form once in few
   days still arrives. Sample: [http://prntscr.com/lnx344](http://prntscr.com/lnx344)
 *  [editanazaryan](https://wordpress.org/support/users/editanazaryan/)
 * (@editanazaryan)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/spam-183/#post-10929907)
 * Hi,
 * Could you please try the following solution:
 * 1. In the form please add the <input type=”hidden”>,
 * 2. In the **public function savedata($form, $id) { ** of the **contact-form-maker/
   frontend/models/form_maker.php** file please add:
    if(isset($_POST[“spamhidden”])&&
   trim($_POST[“spamhidden”]) != “”) { return false; } , where the spamhidden is
   the name of the hidden field.
 * Thanks. Have a nice day.
    -  This reply was modified 7 years, 5 months ago by [editanazaryan](https://wordpress.org/support/users/editanazaryan/).
 *  Thread Starter [mibx](https://wordpress.org/support/users/mibx/)
 * (@mibx)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/spam-183/#post-10931944)
 * How to add in form field <input type=”hidden” name=”spamhidden”>?
    In plugin 
   FAQ: Can I add more fields to Contact Form Builder? There is no possibility of
   adding additional fields…
 *  [editanazaryan](https://wordpress.org/support/users/editanazaryan/)
 * (@editanazaryan)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/spam-183/#post-10932894)
 * Hi,
 * Sorry for misleading.
 * Please note that in the “Section break” field, there is a section to add HTML.
   There you can add the hidden input. Please see [here](http://recordit.co/78qw1ASsom).
   
   The file is contact-form-builder/frontend/models/CFMModelForm_maker.php.
 * In the case you may face any difficulties please, contact us by using the following
   email address: [support@10web.io](https://wordpress.org/support/topic/spam-183/support@10web.io?output_format=md)
 * We will help to fix the issue.
    Thanks.
 *  Thread Starter [mibx](https://wordpress.org/support/users/mibx/)
 * (@mibx)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/spam-183/#post-10938678)
 * In contact-form-builder/frontend/models/CFMModelForm_maker.php added:
 *     ```
       public function savedata($form, $id) {
           $fm_settings = get_option('cfm_settings');
           $all_files = array();
           $correct = FALSE;
       		$captcha_exist = isset($_POST["captcha_improve_".$id]) ? true : false;
           $id_for_old = $id;
           if (isset($_POST['spamhiddenedv']) && trim($_POST['spamhiddenedv']) != "") { return false; }
       .... function code ......
       ```
   
 * In form (section break) added:
    `<input type="hidden" name="spamhiddenedv">` 
   And I still getting spam..
    -  This reply was modified 7 years, 5 months ago by [mibx](https://wordpress.org/support/users/mibx/).
 *  [editanazaryan](https://wordpress.org/support/users/editanazaryan/)
 * (@editanazaryan)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/spam-183/#post-10940404)
 * Hi,
 * Please contact us by using the following email address: [support@10web.io](https://wordpress.org/support/topic/spam-183/support@10web.io?output_format=md).
 * We will help with pleasure.
 * Thanks. Have a nice day.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘spam’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-builder.svg)
 * [WDContactFormBuilder](https://wordpress.org/plugins/contact-form-builder/)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-builder/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [editanazaryan](https://wordpress.org/support/users/editanazaryan/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/spam-183/#post-10940404)
 * Status: resolved