Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Form Verification

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

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

Page: 1 2
Go to End
Author Topic: 4013 Views
  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Form Verification Link to this post

    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

  • redking
    Avatar
    43 Posts

    Re: Form Verification Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Form Verification Link to this post

    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

    4013 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.