Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Defeating Form Spam Bots (cohan.dev)
2 points by corobo on Feb 18, 2020 | hide | past | favorite | 1 comment


Something very simple that has worked for me for many years and across many smaller sites is a custom form field that requires some simple, static answer, like "Please input 42 here:", plus even some Javascript that fills in that form element and hides it, so the typical user does not even see it (while it still works with Javascript disabled).




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: