reCAPTCHA: Tips and Guidelines

Important: Version 1.0 of the reCAPTCHA API is no longer supported, please upgrade to Version 2.0. Learn more

User Mistakes

Making mistakes when filling out a form can be a very frustrating exprience for the user. When a user enters the CAPTCHA incorrectly (or any other field in the form), we strongly encourage you to help them by:

  • Re-displaying the form in question with the form data they entered pre-filled, so they don't have to re-enter everything.
  • Adding the error= parameter to so that the error type is displayed to the user.

reCAPTCHA on an https site

In order to avoid getting browser warnings when you use reCAPTCHA on an SSL site, you should replace with when you request a challenge. Your request to reCAPTCHA would look like this:

<script type="text/javascript"

   <iframe src=""
       height="300" width="500" frameborder="0"></iframe><br>
   <textarea name="recaptcha_challenge_field" rows="3" cols="40">
   <input type="hidden" name="recaptcha_response_field"

Empty reCAPTCHA Fields

If the value of "recaptcha_challenge_field" or "recaptcha_response_field" is not set when you are processing the form, avoid sending a request to This allows you to more quickly deal with simple attempts at spamming.