i have these forms:
https://www.mychabad.org/templates/articlecco.asp?AID=1189379
and last night they were attacked by a bunch of submissions
- is there anything simple i can with the code to avoid such attacks?
- if not, should i be using a different form service?
CAPTCHA is the most well-known solution, but if you’re looking for something simple, I’ve found that this works quite well: set your form’s submit URL to blank (or something invalid) and introduce it via JavaScript. So far, I haven’t seen a bot that executes JavaScript to get past forms. This does mean that users need to have JavaScript enabled, but most do anyway.
Example: