Hi Greyhead!
I'm struggling with the combination captcha+confirmation page.
I've added a captcha at the bottom of the firm. But when I click submit on the confirmation page I get the message that I have entered the wrong verification code.
Maybe it would be better to add the captcha at the bottom of the confirmation page?
I attach a screenshot of my actions. What should I change?
Kind regards
Ola
I'm struggling with the combination captcha+confirmation page.
I've added a captcha at the bottom of the firm. But when I click submit on the confirmation page I get the message that I have entered the wrong verification code.
Maybe it would be better to add the captcha at the bottom of the confirmation page?
I attach a screenshot of my actions. What should I change?
Kind regards
Ola
Hi Ola,
Not easy to work out. You want to set the form up in some way that the Captcha Check is only done on the original submission - once it has been passed once then you can ignore it for that submission. One way is to make the form multi-page so that there are a few initial inputs and the Captcha on the first page(or form), then the remaining questions on a second page. Then you you can use the Confirmation page with just the second page.
A neater solution here might be to put the Captcha Checker inside an Event Switcher action; then follow the Event Switcher with a Custom Code action that sets a 'captcha passed marker':
Then the Event Switcher can look for this and skip the Captcha Check if it is enabled:
Bob
Not easy to work out. You want to set the form up in some way that the Captcha Check is only done on the original submission - once it has been passed once then you can ignore it for that submission. One way is to make the form multi-page so that there are a few initial inputs and the Captcha on the first page(or form), then the remaining questions on a second page. Then you you can use the Confirmation page with just the second page.
A neater solution here might be to put the Captcha Checker inside an Event Switcher action; then follow the Event Switcher with a Custom Code action that sets a 'captcha passed marker':
<?php
$form->data['captcha'] == 'passed';
?>
Then the Event Switcher can look for this and skip the Captcha Check if it is enabled:
<?php
if ( !isset($form->data['captcha']) || $form->data['captcha'] != 'passed' ) {
return 'event_a';
}
?>
Bob
This topic is locked and no more replies can be posted.