Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery Ajax POST #10

Open
fleed opened this issue Sep 19, 2013 · 1 comment
Open

jQuery Ajax POST #10

fleed opened this issue Sep 19, 2013 · 1 comment

Comments

@fleed
Copy link

fleed commented Sep 19, 2013

Hi

Is it possible to add validation to a form submitted via jQuery Ajax post (without leaving the current page)?
Are there examples?

Thanks

@laedit
Copy link

laedit commented Mar 21, 2014

Hi,

I don't know if you are still trying to solve this but yes, it is possible:
You just have to reference the ReCaptcha AJAX API script in your page:

<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>

And call Recaptcha.Create(...) method if the return of your AJAX POST is wrong.
More information: https://developers.google.com/recaptcha/docs/display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants