Wrong reCaptcha

nephilim89 25 Jan, 2014
Hi, I got this problem:
When I click on 'submit' in the confirmation page it says that the recaptcha code wasn't correct.
I couldn't find any solution in the forum.
In attachments a pic of Event structure

Can you help me?
Thanks,
Daniele
GreyHead 25 Jan, 2014
Hi Daniele,

The attachment didn't make it to your post :-(

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
nephilim89 26 Jan, 2014
Ops! 😀

Here's the Form backup!
Thank you
nephilim89 28 Jan, 2014
Any solution? 🙂
GreyHead 28 Jan, 2014
Hi nephilim89,

Hard to be sure but I suspect that this may be because you have put the Confirmation Page inside the On Success event of the Check Captcha action and it probably returns to that action when you submit it.

I always recommend that, unless necessary for the logic of the form, you avoid using the On Success events. Instead put the succeeding actions in the main On Submit event after the action. This works in the same way and avoids the kind of complication that you are getting.

Bob
nephilim89 29 Jan, 2014
Thank you for your reply. I tried putting all actions on the same level as you said. Something like this:

On submit
- check recaptcha
- - on succ
- - on fail
- confirmation page
- - on succ
- - on fail
- send email

This way first it will check the reCaptcha. If it's ok goes on the Confirmation Page, but at the same time sends the email. Then if you click on Submit in the confirmation page, it goes back with the wrong reCaptcha message.
GreyHead 08 Mar, 2014
Hi Daniele,

You need an Event Loop action in the On Fail box of the Check Captcha action and probably also in the On Fail event of the Confirmation page action. Otherwise, as you've seen, you get the Email always sent.

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