Sorry to bring up an old thread, but I didn't want to reinvent the wheel if I don't have to.
Would it be possible to have Couch include a <cms:spam_question /> and <cms:input type='spam' /> which would show an anti-spam question and input field for it, respectively? It could just grab from a pre-defined list (the list could be in a file somewhere, so if the developer wanted to add to it, they could). Then you could just do something like:
Also, have it assume it's required. Along the same vein...the captcha tag is no longer working (the image isn't displayed) so could it be removed if something like this is implemented?
Thanks!
EDIT: It may be better (and less work) to simply replace the captcha tag with a recaptcha tag https://www.google.com/recaptcha/intro/index.html
EDIT 2: Another option would be creating a honeypot tag: http://www.midwesternmac.com/blogs/jeff ... -form-spam
P.S. I know a decent amount of php (and what I don't know, I can learn), so if you'd like help implementing this (and can help me work through the Couch code on Github...I haven't looked, so I don't know how well it's commented/documented) I'd be more than happy to do this myself
Would it be possible to have Couch include a <cms:spam_question /> and <cms:input type='spam' /> which would show an anti-spam question and input field for it, respectively? It could just grab from a pre-defined list (the list could be in a file somewhere, so if the developer wanted to add to it, they could). Then you could just do something like:
- Code: Select all
<label for="spam">Please answer the question:</label>
<span class="spam-question"><cms:spam_question /></span>
<cms:input type='spam' name='spam' id='spam' />
Also, have it assume it's required. Along the same vein...the captcha tag is no longer working (the image isn't displayed) so could it be removed if something like this is implemented?
Thanks!
EDIT: It may be better (and less work) to simply replace the captcha tag with a recaptcha tag https://www.google.com/recaptcha/intro/index.html
EDIT 2: Another option would be creating a honeypot tag: http://www.midwesternmac.com/blogs/jeff ... -form-spam
P.S. I know a decent amount of php (and what I don't know, I can learn), so if you'd like help implementing this (and can help me work through the Couch code on Github...I haven't looked, so I don't know how well it's commented/documented) I'd be more than happy to do this myself
