The question is published on by Tutorial Guruji team.
I have a simple reg form (Name, Email, Password) on my website and im looking to implement some sort of anti-bot/spam protection, Captcha seems like a very long winded way, plus they really annoy me when I see them on sites. Has anybody an alternative method to protecting against spam which is lightweight and simply integrated?
Answer
One alternative is to use a hidden form field as a honeypot for bots. This field can be filled using an appropriate value from Javascript, or it can just be left blank. Either way, if the value isn’t what you expect, then you can treat the submission as spam. This won’t stop bots that are specifically targeting your site, but it will stop most of the common spam bots that just see a form and fill it out.