Forums

anti spam not working for my forms

angus 14 Nov, 2018
I have added honey pot and google captcha to my form,s but I can fill in the required fields and not the I'm not a robot check box and the form still sends.
so i switched to the security image and this does the same. it sends the form but shows the security error

Can anyone see what I'm doing wrong


  • You didn't select the correct image.

[h3]
Thank you, we have received your message and we will try to get back to you as soon as possible, have a good day!
[/h3]
Array
(
    [chronoform] => basic
    [event] => submit
    [name] => angus
    [email] => angus@gapcsupport.co.uk
    [message] => test5
    [checkboxes10] => 
    [email_address_11_4937] => 
    [secicon12] => 
    [button7] => 
    [format] => html
    [Itemid] => 153
    [option] => com_k2
    [view] => item
    [layout] => item
    [id] => 33
)
Array
(
    [check_secicon13] => Array
        (
            [_error] => The security image verification has failed.
            [var] => 
        )

    [check_honeypot12] => Array
        (
            [_success] => The honeypot test was successfull.
            [var] => 1
        )

    [validate_fields8] => Array
        (
            [log] => Automatic validation enabled.
            [var] => 1
        )

    [email2] => Array
        (
            [recipients] => Array
                (
                    [0] => admin@worthpreschool.com
                )

            [subject] => web site contact
            [body] => 
<table width="100%" cellpadding="5" cellspacing="3" border="0" class="ui table"><tr><td width="30%" valign="top" align="right"><strong>Name</strong></td><td width="70%" valign="top" align="left">angus</td></tr><tr><td width="30%" valign="top" align="right"><strong>Email address</strong></td><td width="70%" valign="top" align="left">angus@gapcsupport.co.uk</td></tr><tr><td width="30%" valign="top" align="right"><strong>Message</strong></td><td width="70%" valign="top" align="left">test5</td></tr></table>
            [result] => the Mail sent successfully.
            [var] => 1
        )

)
healyhatman 14 Nov, 2018
Is the captcha check in your submit action BEFORE everything else, and have you put an event loader in the fail condition?
GreyHead 15 Nov, 2018
1 Likes
Hi angus,

From the Debugger output it looks as if you are missing the Event Loader action (as Healyhatman suggests) that reloads the form and therefore stops further processing.

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