FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...


v1.0 Public
A plugin for rendering and validating a Google Recaptcha.

Have fun!

This plugin is compatible with CF9 as it is written in the new cfscript format, and is written for use in Coldbox. First off, place these in your settings in Coldbox.cfc:

			recaptcha_PublicKey = "YOUR KEY HERE",
			recaptcha_PrivateKey = "YOUR KEY HERE"
I initialize the Recaptcha plugin in the controller with:
rc.recaptcha = getPlugin("Recaptcha",true).init();
Then here in the view I simply render it by:
Then I validate the code like so:
var rc.recaptcha = getPlugin("Recaptcha",true);
var responseVar = rc.recaptcha.checkAnswer(rc.recaptcha_challenge_field,
	return true;
	return false;
There are several skins and languages to choose from. Also, it is neccessary to have a Recaptcha key from Then place the keys in the Coldbox.cfc settings struct like
recaptcha_PublicKey = "PlaceCodeHere",
recaptcha_PrivateKey = "PlaceCodeHere"

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
1.0 Jan 23 2011 03:44 PM Jun 10 2016 02:51 AM
Version History
1.0 Jan 23 2011 03:44 PM Jun 10 2016 02:51 AM


  •   Jonathan Creamer
  • Published
  • 1.0 is the latest of 1 release(s)
  • Published on Jun 10 2016 02:51 AM

$ box install GoogleRecaptcha

No collaborators yet.
  • Jan 23 2011 03:44 PM
  • Jun 10 2016 02:51 AM
  • 3,512
  • 1,542
  • 3