Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am trying to test the honeypot method to avoid spam, but its not working #321

Closed
asenav opened this issue Apr 11, 2019 · 1 comment
Closed

Comments

@asenav
Copy link

asenav commented Apr 11, 2019

I have followed the instructions, uncheck the comment on the form-submission-handler.js file. And I wanted to try testing it, but if I comment or not put the css code to hide the field, and try to fill it and press sent... It its received and got no error. I am not sure if this is the right way to test it, or if its really failing. In case, its my mistake, how do I fix it?

I have uploaded a codepen in case I have made a mistake:
https://codepen.io/asenav/pen/GLmjqX

I also the page here:
https://www.panamaanimation.com/formulario.html

@mckennapsean
Copy link
Collaborator

Good catch, it looks like this has been broken ever since we merged #194, my fault really since I recommended filtering it out too soon. We have to move the filter to right before we send the data. The honeypot field is required to be in the forms object with how this is written. At this point, I'd be happy to make this part of the main tutorial so that anyone copying the form gets the benefit outright.

nelsonic added a commit that referenced this issue May 27, 2019
Fixes #321 by adding honeypot spam prevention
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants