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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Form Verification


Go to End


11 Posts   6429 Views

Avatar
Willr

Forum Moderator, 5523 Posts

2 September 2008 at 1:11pm

no its only built in for page comments but have alook at the code, its pretty easy to integrate / add your own spam check. Or if you want to try out ingos recaptcha (http://recaptcha.net/) module check out http://open.silverstripe.com/browser/modules/recaptcha/trunk

Avatar
redking

43 Posts

10 September 2008 at 11:02am

I tried implementing the recaptcha module, but couldn't get it working.
I downloaded the trunk files, uploaded them to the 'recaptcha' directory in my SS root directory, added my public and private API keys in the _config.php file within the recaptcha directory, and did a db/build?flush=1. What am I missing?

Avatar
Willr

Forum Moderator, 5523 Posts

10 September 2008 at 11:33am

The module just provides the FieldType class for it. It doesn't automatically insert it in your forms. In your form code you need to tell it you want to use it. Depends how you build your form but basically you need

new RecaptchaField('Recaptcha');

In your list of fields

Go to Top