Yes I watched the video but it's still not working.
Added Captcha Input as one of the fields.
Added Load Captcha as one of the events before the Show HTML event in the On Load area.
Added Check Captcha as the first event in the On Submit area.
But when I go and fill out the form I get both the "You have entered a wrong verification code!" error messages. It simply will not let me submit at all.
Using 4.0 RC3.2 on Joomla 2.5.1
Nevermind figured it out...but it might still be a bug.
I had the form on the page twice, in two different areas. Once I removed one of them then it worked just fine.
Hi kecker,
And the other error is because you have the Joomla! Email Cloaking Plug-in enabled and it is trying to cloak the sample e-mail in the ChronoForms validation message. Disable the plug-in temporarily to check this is the problem. If you need the plug-in change the plug-ins order so that Email Cloaking runs before ChronoForms.
NB These are Joomla! plug-ins that you manage from Site Admin | Extensions | Plug-in Manager
Bob
HI,
I have followed the video, placed a captcha image field and the two events, but every time I try to submit my form I get an error message that the code is wrong. Is there anything further I need to do other than what is shown in the video?
Thanks.
Hi jinx52,
No, there is nothing else to do. Pleae check the settings and if it still doesn't work 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
Hi jinx52,
The Captcah appears to be working OK. I get an error message "You must provide your password."
but that is because the Joomla! Registration action isn't configured at all.
I suggest that you don't use the On Success event of the Check Captcha action but instead put following events in the main On Submit event body. The effect is the same but it is tidier and may be more reliable.
Bob
HI again🙂
The form work fine, except the check of the Captcha code.
Worng code make the form pass to next step.
Where am I doing wrong?
Thanks
Andrea
Hi Andrea,
What is the Event Switcher doing? What code do you have in it?
Bob
Hi Andrea,
If there is no code in the Event Switcher then none of the events will be run - that's why your Captcha is being missed.
Bob
Hi Bob
Now I put this code in EventSwitcher
<?php
if ( !isset($form->data['confirmation']) || $form->data['confirmation'] != 'yes' ) {
return 'event_a';
}
?>
the captcha check work fine, I see the ConfirmationPage but on submit I see the error message of worng captcha code instead the thank you page.
This the output of the Debugger in OnSubmit TAB.
Data Array:
Array
(
[option] => com_chronoforms
[chronoform] => test
[event] => submit
[Itemid] =>
[Nome] => Hi Bob
[chrono_verification] => Vujwd
[input_submit_1] => Submit
[e0040f8362c408c9d852d11ed4ba014e] => 1
)
Validation Errors:
Array
(
)
Confirmation Page
Hi Bob
Debug Data
SUBMIT CANCEL
Core Captcha
Passed the core captcha check!
I've tried also put the ThankYouPage on the bottom OnSubmit TAB.
Noting change
can you help me again?
Thanks
Andrea
What is the solution andrea68it? Kindly please share with us
Hi webinis,
What problem do you have exactly? Have you checked the Captcha FAQ?
Bob