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.

Archive /

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

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

Form Verification


Go to End
Reply


11 Posts   4292 Views

Avatar
Willr

Forum Moderator, 5513 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, 5513 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