Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

reCaptcha Module

Go to End

9 Posts   4129 Views


Community Member, 1 Post

6 May 2008 at 2:01am

hi community!

we started to use silverstripe for simple sites and are very satisfied with it's intuitive user interface.

now we tried to integrate recaptcha into our contact forms. we found the module and its documentation ( but we didn't succeed in using it.

we read discussions at the dev-forums ( and are a little confused about how to use the module. isn't it ment to install the module and to have a new field in the form-tab?

we appreciate any hint on using this module. thank you very much!


Community Member, 791 Posts

6 May 2008 at 3:17am

No , at this moment it cannot be used on user generated forms. We played around with it , trying to get it to work on them, but ended up manually creating the forms through a class , the recaptcha works perfectly then.

It is still on our todo list though... ;)


Community Member, 6 Posts

11 August 2008 at 11:51pm

First off great work in incorporating this module with SS. But i'm having some problems getting the module to work with my custom form and a template.

Here is my code All of my fields are showing but the recaptcha one.


Community Member, 791 Posts

12 August 2008 at 12:27am

Hmmm..that's weird.... Can't really see anything wrong with it...

the only difference is that I did not create a specific form template....but let SS generate it for me (e.g. ; I just dumped a $myformname in the template)...


Community Member, 501 Posts

11 October 2008 at 9:56pm

I created a little module that works like this, but for Mollom then:


Forum Moderator, 801 Posts

14 October 2008 at 1:00am

nice work! one tiny note: we favour the usage of FormField::createTag() in FormField->Field() because its easier to read and modify.

do you want me to set up your module as a component on and add it to as always, we're offering to host your module on our subversion-repo as well if you're keen :)


Community Member, 501 Posts

14 October 2008 at 1:18am

Ingo, thanks

I based myself on the recaptchamodule, don't remember seeing createTag there, but I can change it in a next version some day.

The guys from mollom asked me to set up a little site for it where I maintain the versions, but feel free to add it to translate and open. (although it might need some extra vars added to translate).

The module is also featured on

I'm also looking into adding Mollom as a whole (as a Validator extension) - which checks the content first and only adds a Captcha on 'unsure', but I'm running into some difficulties with Validator and Form - might open a topic for it later that describes my problem in detail.


Community Member, 64 Posts

6 November 2008 at 2:20pm

Edited: 06/11/2008 2:20pm

Hi, I am a newby, simply want to add Mollom into my form, but I got stuck on where to put this code:

$myCaptcha = new MollomCaptchaField("MyCaptcha", "Label Text");

Please help!! Thanks.

Go to Top