Google NoCaptcha Incorrect Code Message

ch chris_cullen 08 Apr, 2015
Hi
I Changed one of my forms to use the new Google NoCaptcha its is realty great for people who have trouble with the codes!
But when testing If It times out and requests a code (user ticks box before filling out the form) then a incorrect code is entered it just dumps you on a new empty page with the wrong Captcha code entered message instead of just displaying it.
How do i avoid this ?
Regards,
Chris
Gr GreyHead 09 Apr, 2015
Hi Chris,

How exactly do you replicate the problem? I can get NoCaptcha to time out but then it just shows me more tests on the same page. If I submit without verifying then the same page is re-loaded.

Bob
ch chris_cullen 09 Apr, 2015
Hi Bob
It was when a incorrect code on was entered in the extra test.
Gr GreyHead 10 Apr, 2015
Hi Chris,

I still can't replicate the behaviour - five or six wrong answers just give me yet another test on the same page.

Is the form using Ajax to submit?

Bob
ch chris_cullen 10 Apr, 2015
Hi
No it's not using Ajax
Perhaps the logic needs to be done differently i just recreated the setup as it was with the normal recaptcha
Here's a pic of the setup perhaps i have missed something
http://hdpc.rocks/files/capture.jpg

Regards,
Chris
Gr GreyHead 10 Apr, 2015
Hi Chris,

Please change the On Fail event so that it just has an Event Loop action. That will re-load the whole On Load event of the form - i.e. redisplay the form.

Bob

PS I recommend not using the On Success events of the Check actions, just put the Event Loop in the Fail and everything else after the Check event. Either way will work but putting them in sequence reduces nesting and keeps the form simpler and easier to understand when you come back to it later.
This topic is locked and no more replies can be posted.