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   4171 Views

Avatar
redking

1 September 2008 at 6:50am 43 Posts

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!

Avatar
Liam

1 September 2008 at 11:44am Community Member, 470 Posts

There is nothing built in by default.

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

Avatar
Willr

1 September 2008 at 3:27pm Forum Moderator, 5511 Posts

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();

Avatar
Liam

2 September 2008 at 1:51am Community Member, 470 Posts

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.

Avatar
Willr

2 September 2008 at 9:30am Forum Moderator, 5511 Posts

My sites on 2.2.2 and it seems to work fine.

Avatar
NickJacobs

2 September 2008 at 12:22pm Community Member, 144 Posts

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

Cheers

Avatar
Willr

2 September 2008 at 12:37pm Forum Moderator, 5511 Posts

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

Avatar
NickJacobs

2 September 2008 at 1:07pm Community Member, 144 Posts

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

Go to Top