The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Submission pre-parser still sending email - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Submission pre-parser still sending email (/showthread.php?tid=1671) |
Submission pre-parser still sending email - designandetc - Oct 5th, 2011 Form Tools v2.0.6 I have a form using module: Submission Pre-Parser (to fight spam bots). All seems to work fine, with no messages appearing in the control panel when the hidden field is filled in. The problem is that the system still sends an email to the owner of the form stating that there is a new message and with all of the fields on the email message blank. I can confirm that there is no submission saved when this happens, only a blank email sent. Please help me. RE: Submission pre-parser still sending email - designandetc - Oct 5th, 2011 (Oct 5th, 2011, 1:26 PM)designandetc Wrote: Form Tools v2.0.6 Perhaps an upgrading might do me well? RE: Submission pre-parser still sending email - Ben - Oct 7th, 2011 Hi designandetc, Are you using the "form_tools_ignore_submission" key, to indicate that you want to ignore the submission? If so, that may well be the cause: there was an issue with that not being recognized properly. If not, could you post your Submission Pre-Parser rule content (just the salient parts of it, if it contains sensitive info) so I could take a look? Thanks! - Ben Spam Bot Fighting Method - designandetc - Oct 8th, 2011 Ben, I upgraded to the latest version of Formtools (2.1.3) and the latest version of the Submission Pre-Parser module (1.1.1) and after creating a couple rules, the spam has stopped! First: I am using the "formtools_ignore_submission" key. Here is my rule: PHP Code: if (!empty($_POST["name"])) My "honeypot" field is coded like this: PHP Code: <div class="honey"> Notice that i used "name" as my field name. I figured the bots would see that as an important field to fill in. Second: I changed the names of my fields to their "backwards-selves". i.e. (city = fytic, and email = fliame). This was to avoid bots looking for specific field names from entering data in my fields. Last: I made and additional rule in the Submission Pre-Parser module that will ignore any blank submissions. This is for two reasons. First, because if a visitor or a bot were to submit my form without filling in any field, I'd get a blank submission. Second, my initial problem was that even with the above Submission Pre-Parser rule, Formtools was not recording a bots submission but it was sending a completely blank email. Here is the second rule: PHP Code: if (empty($_POST["feman"]) && empty($_POST["fliame"]) && empty($_POST["fenohp"]) && empty($_POST["fegassem"])) Thanks for your help and I hope this will help someone else avoid spam bots submitting to their form! -Paul RE: Submission pre-parser still sending email - Ben - Oct 10th, 2011 Excellent! I'm very glad that's all working now. Thanks for posting your solution! - Ben |