On Friday, 7 March 2014 23:47:13 UTC+11, Michele Comitini wrote:
>
> If you can ajax LOAD a whole form you can use this to add a recaptcha 
> easily:
>
> http://www.web2pyslices.com/slice/show/1584/adding-a-recaptcha-to-a-form
>


For me, this doesn't work. It surely has the same problem ... the 
javascript doesn't execute when the form is LOADed (LOAD... ajax=True) and 
the only way of fixing that is to use recaptcha's ajax API. 

Anyone who is interested can try trunk and Recaptcha(...ajax=True). I've 
indicated in the book patch that this argument is experimental, and that 
it  may disappear in favour of auto-detecting ajax or simply using the ajax 
api always, 

-- 
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 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to