Yes, that was it! Thanks a lot!
I don't know if this count as a suggestion, but honestly I was expecting to
be able to access the reCaptcha widget from
{{=form.custom.widget.recaptcha}}
since I already had set
auth.settings.register_captcha = Recaptcha(request, PUBLIC_KEY, PRIVATE_KEY
,...)
and the widget was actually appearing when using
{{=form}}
I hope it helps!
Thanks again, Massimo!
On Monday, February 11, 2013 12:54:53 PM UTC-5, Massimo Di Pierro wrote:
>
> Using a form inside a form may not a good idea. How about just:
>
> {{=Recaptcha(request,PUBLIC_KEY, PRIVATE_KEY, options="theme:'white'")}}
>
> Would that work? Any suggestion for fixing this problem?
>
> On Monday, 11 February 2013 09:13:15 UTC-6, Johan Börjesson wrote:
>>
>> I had the same problem a while ago. The solution is described in the
>> book: http://web2py.com/books/default/chapter/29/09#CAPTCHA-and-reCAPTCHA
>>
>> Instead of
>>>
>>>
>>> {{=form.custom.widget.recaptcha}}
>>>
>>>
>> use
>>
>> {{=FORM(Recaptcha(request,PUBLIC_KEY, PRIVATE_KEY, options=
>> "theme:'white'"))}}
>>
>>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.