Forums

Captcha issues

abasel 10 Nov, 2011
I have installed Chronoform on Joomla 1.7

I have two issues
1) The Success message does not display
2) The form submits even if the Captcha is entered incorrectly.

Attached is a screen dump of my actions settings. I gather the red box means that there is a problem but I am not sure what.

[attachment=0]Chronoforms1.png[/attachment]
abasel 10 Nov, 2011
I found this in a previous post by GreyHead

You need three things working together for the ChronoForms captcha:
A Captcha Input element on the form Preview tab;
A Load Captcha action in the On Load event on the Events tab
A Check Capthca action in the On Submit event on the Events tab with an Event Loop action in the pink On Fail event box.



So I am nearly there, just not sure what to do with the Event Loop. I've added it using the following settings:
Target event: >On Submit>Check Captcha >On fail
Quit next actions: Yes

When I now submit I get

Fatal error: Allowed memory size of 47185920 bytes exhausted (tried to allocate 7680 bytes) in /home/interne4/public_html/baselmania/components/com_chronoforms/libraries/chronoform.php(233) : regexp code on line 1

GreyHead 10 Nov, 2011
HI abasel,

Use the Event Loop with the default > OnLoad setting. The one you have picked is going into a loop.

Bob
abasel 11 Nov, 2011
Hi,

I tried that; deleted the old one and dragged the Event Loop across to the Fail box. Edited it to ensure that it was as you said. But I still get

Fatal error: Allowed memory size of 47185920 bytes exhausted (tried to allocate 40961 bytes) in /home/interne4/public_html/baselmania/components/com_chronoforms/libraries/chronoform.php on line 164

GreyHead 11 Nov, 2011
Hi abasel,

There must be a loop there somewhere. 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
abasel 11 Nov, 2011
Backup attached. Thanks
GreyHead 12 Nov, 2011
HI Abasel,

The Target Event in the Event Loop must be set to > On Load.

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