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

ContentBox Clustered Captcha

v1.1.0 Public

ContentBox Clustered Captcha

This module will add Captcha Security to your comment forms that can be distributed in a cluster as it leverages the CacheStorages module.


Just use CommandBox: box install contentbox-captcha, then visit your ContentBox administrator and activate the module in the Modules section.


This module will automatically add Captcha security to your comment forms. However, you can also leverage it to add it to any form.

Displaying the Captcha

You can display the captcha by using the following code:

<!-- Display Captch using /contentbox-captcha entry point -->
<img src='#event.buildLink( 'contentbox-captcha' )#' />

<!-- Field For Input -->
    name			= "captchacode",
    label			= "Enter the security code shown above:",
    required		= "required",
    class			= "form-control",
    groupWrapper	= "div class=form-group",
    size			= "50"

Validating the Captcha

You will need access to the captcha service which is registered in WireBox as [email protected]. You can inject it in your handlers like so:

property name="captchaService"	inject="id:[email protected]";

You can then in the receiving action validate it using something like this:

if( !captchaService.validate( rc.captchacode ){
    // Captcha is invalid.


Apache License, Version 2.0.

Important Links


System Requirements

  • Lucee 4.5+
  • ColdFusion 11+


"I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)" Jn 14:1-12

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.1.0 Nov 21 2017 11:41 AM Nov 21 2017 11:41 AM
Version History
1.0.2 Nov 15 2017 11:34 AM Nov 15 2017 11:34 AM
1.0.1 Nov 14 2017 02:56 PM Nov 14 2017 02:56 PM
1.0.0 Oct 31 2017 11:11 AM Oct 31 2017 11:11 AM


$ box install contentbox-captcha

No collaborators yet.
  • Oct 31 2017 11:11 AM
  • Nov 21 2017 11:41 AM
  • 590
  • 0
  • 30