Add reCaptcha to your Drupal 7 forms programatically
If you want to add Google's reCaptcha (https://www.google.com/recaptcha/intro/index.html) to your Drupal 7 forms programmatically you need to follow these two steps:
2) Add this snippet to any Drupal form's code you wish to have this captcha on:
1 2 3 4
And you're done! I hope from now on, spam bots will bother you less.
Don't forget to share this little tip if you like it!