If a bot fills in this “address” field, which should be tempting to a bot, the submission is rejected. I’m using an HTML Embed element to include the hidden input field:
…and the class on that div, “contact-form-field”, hides the honeypot so that the “display:none” is not inline and detectible by the bots. However, for some reason, we are still receiving quite a few bot submissions and I’m wondering if anyone notices anything wrong with my honeypot implementation. Any suggestions are greatly appreciated.
@sam-g I would prefer not to share my published site link (or my Webflow read only link) if I can avoid it. I was hopping that source code generated by Webflow from my original post would be sufficient. Can you let me know what you would like to see?
Assuming you are using some javascript to reject the form submission if that field has a value? Posting that would be useful, or creating a codepen with the form and honey pot code.
@sam-g The form processing/handling is all server-side (no javascript). I’ve checked log details and confirmed that the bot submissions are not filling in the “address” input field for some reason. Given this, I’m interested if there is something I am doing in the form HTML from my original post that the bots are detecting and subsequently avoiding that “address” input field.
I see, so you are collecting the form submission and then checking that field after submission to decide if the data gets passed along or not?
I’m not sure if it would make a difference, but the additional div around the input may make a difference, depending on how the “bot” is iterating through the form fields it may be avoiding inputs nested an additional level, but I really don’t know, just a guess.
@sam-g Yes we are collecting the form submission and then checking that field after submission. I agree that the surrounding div is one of the possibilities, albeit I can’t find anything stating that using a surrounding div is a known issue with a honeypot (at least not yet). I will certainly take a look at the article you provided, thanks.