Forums

ReCapture being ignored

EddieM 06 Sep, 2013
Hi,
I'm having an issue whereby Google ReCapture is
1) not mandatory - so you can submit w/o completing
2) the form is submitting even if I enter incorrect captcha phrase.

J! 2.5.14
ChronoForms V4.0 RC3.3

Here's what I've done.
1) Enabled ReCapture as the default J! Capture
2) Created public/private keys for the domain
3) Added these keys to the J! capture plugin & published it
4) Created a form & added a Custom Element - using {ReCaptcha} in the code element
5) Added LoadRecapture as the 1st event in the OnLoad box - used my private/public keys (same as entered in plugin)
6) Added CheckRecapture as the 1st event in the OnSubmit box, with the EventLoop added to the OnFail action.

Is there anything that I've missed?
Thanks,
Eddie
GreyHead 06 Sep, 2013
Hi EddieM,

That all looks correct to me. I can't see why it isn't working. Please post a link to the form so I can take a quick look.

Bob
GreyHead 07 Sep, 2013
Hi Eddie,

Is the form submitting correctly apart from the Captcha? The front-end submit looks very fast and I wondered if it was just redirecting? I don't see anything obviously wrong and the ReCaptcha data code appears to be submitting.

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
EddieM 07 Sep, 2013
Hi Bob,
Thanks for this - appreciated.

Well, the form was working before I added recaptcha! The form is embedded in an article - could that be an issue?

Cheers,
GreyHead 08 Sep, 2013
Hi EddieM,

I restored the form and re-added the general ChronoForms ReCaptcha keys and the form works OK from my test site.

Two things to try:

One is to take it out of the article, the plug-in adds complication. You can put the header and test into a Custom Element element at the top of the Preview window.

Second is to set Relative URL to NO on the form General tab (click the form Name link in the Forms Manager to see it). That might be enough on its own.

Bob
This topic is locked and no more replies can be posted.