Hello all,

I'm having an issue where I am using a simple form controller that 
essentially just has a Recaptcha field and a submit button:

def form():
    from gluon.tools import Recaptcha
    form = FORM (
        Recaptcha(request, public_key, private_key),
        INPUT(_type='submit'))
    if form.process().accepted:
        response.flash = 'Thanks!'
    elif form.errors:
        response.flash = 'Invalid Entry'
    else:
        response.flash = 'No thanks!'
    return dict(form=form)

I call it using {{=form}}

If I submit the Recaptcha field with nothing in there, it responds 
immediately with an invalid submission.  If I fill in "anything" in the 
Recaptcha field (incorrect or otherwise), the browser just hangs there and 
I have to reset the web server. I have checked communications between my 
server and the Recaptcha server and it seems fine.  Also, I have made sure 
that I haven't mixed up any keys.

Has anyone else run into this issue recently?

Thanks,
Chris

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to