[web2py] Re: ReCaptcha and SQLForm

2011-04-12 Thread pbreit
This seems to work but you might need to play around with the layout (need to replace recaptcha keys). def captcha_form(): public_key = 'xxx' private_key = 'xxx' form = SQLFORM(db.confession) form[0].append(TR('',Recaptcha(request, public_key, private_key),'')) if form.accepts

[web2py] Re: ReCaptcha and SQLForm

2011-04-12 Thread Drise
Hm... I've also tried there too. Seems only to contain a method for CRUD and auth, which I would honestly like to avoid, but if I need to, which it seems I do, I'll use it.

[web2py] Re: ReCaptcha and SQLForm

2011-04-12 Thread DenesL
See http://www.web2py.com/book/default/chapter/08?search=captcha#CAPTCHA-and-reCAPTCHA On Apr 12, 8:05 pm, Drise wrote: > Also, I need to have it show no matter, so I don't need to append it. > I just need to have it display always. > > On Apr 12, 6:45 pm, Drise wrote: > > > > > > > > > I've

[web2py] Re: ReCaptcha and SQLForm

2011-04-12 Thread Drise
Also, I need to have it show no matter, so I don't need to append it. I just need to have it display always. On Apr 12, 6:45 pm, Drise wrote: > I've already read through that, and tried to dissect it and use it for > what I need, but it didn't work (and slightly confused me more). > > On Apr 12,

[web2py] Re: ReCaptcha and SQLForm

2011-04-12 Thread Drise
I've already read through that, and tried to dissect it and use it for what I need, but it didn't work (and slightly confused me more). On Apr 12, 6:42 pm, Drise wrote: > Traceback (most recent call last): >   File "gluon/restricted.py", line 188, in restricted >   File "C:/Users/Drise/Desktop/we

[web2py] Re: ReCaptcha and SQLForm

2011-04-12 Thread Drise
Traceback (most recent call last): File "gluon/restricted.py", line 188, in restricted File "C:/Users/Drise/Desktop/web2py/applications/MinecraftAnonymous/ controllers/default.py", line 69, in File "gluon/globals.py", line 124, in File "C:/Users/Drise/Desktop/web2py/applications/Minecraft

[web2py] Re: ReCaptcha and SQLForm

2011-04-12 Thread pbreit
I see this suggestion: form[0].append(TR('',captcha, '')) https://groups.google.com/d/topic/web2py/eeMT2Bb-KYA/discussion