I am working with a form which uses Javascript only for fields authentication. I need to introduce spam filter. My question is.
- Should I introduced Server Side Script to address spam issues (more work)
- Disable user from submitting form, if JavaScript is disabled?
- Make a separate form for people who have disabled Javascript (for robots for example)
The issue arised because of spam. As a side question. How does bots work? Do they just disable JavaScript. It is kind of lame question.
The way form has been coded is quite unorthodox, which means the code changes for PHP script will be considerable, equivalent to designing a new page.
Thanks in advance.
Yes
You can’t. (You could put some blocks that would make it inconvenient for them to submit it, but you can’t control what data people send to your server.)
No. Build on things that work
They make HTTP requests and process the responses.
They usually run on engines which don’t support JavaScript in the first place.
Sounds like it is in maintenance hell and needs refactoring for the sake of any future changes or debugging that might be needed.