Did anyone happen to find / build a quick-fix to protect users from getting spammed through their self-made forms ? A customer is being killed by spam at the moment. Creating a custom-form is not an option in this case.
Thanks !
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
Did anyone happen to find / build a quick-fix to protect users from getting spammed through their self-made forms ? A customer is being killed by spam at the moment. Creating a custom-form is not an option in this case.
Thanks !
hm, we had good experiences with spam-protection through simple challenge fields ("what is four plus three?") - which means you'd have to subclass UserDefinedForm and implement your own Validator/RequiredFields (on the serverside).
other than that, have a look at http://recaptcha.net (same subclassing, but more complicated).
you can also open a request to have this implemented natively on open.silverstripe.com
Thanks.
I think I'll go the simple challenge route. Oh , I also added a ticket. ;-)
Ingo,
I'm kinda stuck doing this. Do you happen to have an example of the class you mentioned laying around ? I can't figure out how to subclass the SS UserDefinedForm class to do my own stuff without breaking stuff. ;)
Thanks !
unfortunately not - there's some documentation at
http://doc.silverstripe.com/doku.php?id=validator and http://doc.silverstripe.com/doku.php?id=recipes:forms
userdefinedforms are traditinionally hard to customize, you might want to consider implemeting a normal form-subclass.
Thanks..
I just can't figure out how to extend the userdefined form and get SS to work with it.
A custom form isn't really an option for my client..
Will keep trying. ;-)
Isn't the new module of any use somehow? (haven't looked into it yet, just saw it mentioned on the dev-list.
Hi Dio, Thanks...
Problem is I´m trying to integrate it on a User Defined Form... Can´t figure out how to do it.... Creating a custom form is not (yet) a solution ....