Saturday, March 2, 2013

Adding Captcha's to Your Blogger Form

You can add a Google supported captcha spam protection to your form hosted by popular blog platforms including: Wordpress.com and Blogger.com 

1. Get a reCaptcha key from Google: http://www.google.com/recaptcha
 

2. Paste this script into your form between the <form> and </form> tags:

<div>
<script src="http://www.google.com/recaptcha/api/challenge?k=your_public_key" type="text/javascript"></script>

<noscript>
     <iframe src="http://www.google.com/recaptcha/api/noscript?k=your_public_key"
         height="300" width="500" frameborder="0"></iframe><br>
     <textarea name="recaptcha_challenge_field" rows="3" cols="40">
     </textarea>
     <input type="hidden" name="recaptcha_response_field"
         value="manual_challenge">
</noscript>

</div>
<br />
<br /> 
3. Replace in the above "your_public_key" with your own public key obtained in step 1.