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: 4005 Views
  • redking
    Avatar
    43 Posts

    Form Verification Link to this post

    Hi,

    Does anyone know of a way to incorporated form verification to prevent spam form submissions? Something along the lines of the the random word images that the user has to enter in to prove they are human. See screenshot for example of what I'm talking about.

    Thanks!

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Form Verification Link to this post

    There is nothing built in by default.

    I'd take a look at http://recaptcha.net/captcha.html as it's probably the simplest.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Form Verification Link to this post

    You can try out ingos module for recaptcha - http://open.silverstripe.com/browser/modules/recaptcha/trunk or if you need basic protection for your page comments you can add this to your _config.php for the standard MathSpam protection - MathSpamProtection::setEnabled();

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Form Verification Link to this post

    Does the MathSpamProtection work in 2.2.2 or just trunk builds? Last time I went to use it, it wasn't working but this was a long time ago, probably with 2.2.1 or earlier.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Form Verification Link to this post

    My sites on 2.2.2 and it seems to work fine.

  • NickJacobs
    Avatar
    Community Member
    144 Posts

    Re: Form Verification Link to this post

    Hi, can you please let me know how to add form protection using MathSpamProtection...or is there a document somewhere.

    Cheers

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Form Verification Link to this post

    Its pretty simple to add it - http://doc.silverstripe.com/doku.php?id=mathspamprotection

    You just need to add MathSpamProtection::setEnabled(); to your _config.php file and it will add the Math Spam question to your comment form

  • NickJacobs
    Avatar
    Community Member
    144 Posts

    Re: Form Verification Link to this post

    Will this work on subscriber forms etc as well...or is there anything else that will stop spam through contact forms?

    4005 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.