reCAPTCHA protects internet users from spam and abuse wherever they go. Here is a ‘CaptchaField’ class which you can set to validate form. It changes the validation of the field, so you can bind appropriate buttons to the form.

To get it work you will have to register your site on the this page. Register your site URL there and get the key. Add the following code to the header of your index.html file.


The field also fires the following events:

  • RecaptchaInValid
  • RecaptchaValid
  • RecaptchaExpired
  • RecaptchaErrorCallback