[web2py] Re: recaptcha in custom forms

2014-03-05 Thread Tim Richardson
I submitted a patch which allows us to use recaptcha's ajax API. This was the only way I could get it to work in a LOAD component. It may solve other problems. You add ajax=True to the Recaptcha constructor. It's not in trunk yet. The related issue is http://code.google.com/p/web2py/issues/det

[web2py] Re: recaptcha in custom forms

2014-03-05 Thread Tim Richardson
On Wednesday, 5 March 2014 18:57:56 UTC+11, Tim Richardson wrote: > > > I also don't get recpatcha working with auth login at the moment (trunk) > That is, the recpatcha doesn't show although the Verify: label does, and > login gets the invalid error message for a failed recaptcha input > > No,

[web2py] Re: recaptcha in custom forms

2014-03-04 Thread Tim Richardson
I also don't get recpatcha working with auth login at the moment (trunk) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message becau

[web2py] Re: recaptcha in custom forms

2014-03-04 Thread 黄祥
pardon me, not solved yet, don't know what's going on happens in the background for the recaptcha in pythonanywhere. best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py

[web2py] Re: recaptcha in custom forms

2014-03-04 Thread cisco cca
i got same error that the recaptcha is working in my local (recaptcha appear), but when i try in pythonanywhere, the recaptcha is not show up. Did you solve it? On Friday, April 26, 2013 10:47:29 PM UTC+8, 黄祥 wrote: > > another question, > 1. it seems that recaptcha is not required, i mean i st

[web2py] Re: recaptcha in custom forms

2013-04-26 Thread 黄祥
another question, 1. it seems that recaptcha is not required, i mean i still can submit the form without fill the recaptcha field 2. why the recaptcha is working in my local (recaptcha appear), but when i try in pythonanywhere, the recaptcha is not show up. any idea or solution to face this? tha

[web2py] Re: recaptcha in custom forms

2013-04-26 Thread 黄祥
work smoothly right now by remove the models part and using the view part, but, when i use the controller parts, remove the model and view parts (recaptcha), recaptcha didn't show up, btw, thank you so much for your hints Loïc. *views part* {{from gluon.tools import Recaptcha}} {{=Recaptcha(re

[web2py] Re: recaptcha in custom forms

2013-04-26 Thread Loïc
I think you should'nt call Recaptcha with 'PUBLIC_KEY' and 'PRIVATE_KEY' as strings PUBLIC_KEY and PRIVATE_KEY should be variables that contain the keys you have created on recaptcha website ( https://www.google.com/recaptcha/admin/create) On* models\db.py* I would remove the line db.contact_us