Captcha does not function

NinaB 22 Jan, 2017
Hi

I have inserted a captcha field in my contact form to avoid spam. When I test the captcha with a false captcha code the contact form seems to be activated even though there should be an error message saying something like "false captcha try again". I have set the validation to "yes", so that should not be the problem

What did I do wrong?

Thanks and best regards

Nina Balslev
GreyHead 22 Jan, 2017
Hi Nina,

Do you have an Event Loop action in the pink On Fail event of the Check Captcha action?

Bob
NinaB 22 Jan, 2017
I can assure you that I do not have these functions, since I do not know what you are talking about😲

Best regards

Nina Balslev
GreyHead 23 Jan, 2017
HI Nina,

[attachment=0]2017-01-23_10-32-39.png[/attachment]

Bob
NinaB 23 Jan, 2017
Hi Bob

Thanks. I will give it a try

Best regards

Nina Balslev
GreyHead 23 Jan, 2017
Hi Nina,

I failed to put it in my image but you also need the corresponding Load Captcha action in the On Load event.

Bob
NinaB 23 Jan, 2017
Thank you Bob

As far as I can see then I have got it to function. Just to be sure that I have not made any mistake I send you the debugged version

Array
(
    [chronoform] => Kontaktformular_kopi
    [event] => submit
    [Navn] => Nina Balslev
    [text2] => 
    [email] => nij@privat.dk
    [text4] => Test with debug
    [textarea5] => Testing debug
    [captcha] => 
    [button6] => Send
    [Itemid] => 129
    [Kontaktformular_kopi] => 
    [ip_address] => 109.56.80.126
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
    [0] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:nina@seo-webdesign.dk
                    [2] => Subject:Henvendelse fra kontaktformular SEO-Webdesign
                    [3] => From name:Kontaktformular SEO-Webdesign
                    [4] => From email:
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<table>
<tr><td>Skriv dit navn</td><td>Nina Balslev</td></tr>
<tr><td>Skriv evt. dit telefonnr.</td><td></td></tr>
<tr><td>Skriv din email</td><td></td></tr>
<tr><td>Emne for henvendelse</td><td>Test with debug</td></tr>
<tr><td>Udvid din henvendelse</td><td>Testing debug</td></tr>
</table><br /><br />IP: 109.56.80.126
                )

        )

    [1] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:nij@privat.dk
                    [2] => Subject:Din henvendelse til SEO-Webdesign via kontaktformularen
                    [3] => From name:SEO-Webdesign
                    [4] => From email:nina@seo-webdesign.dk
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Array
                        (
                        )

                    [11] => Body:
<h3> Hej Nina Balslev</h3>
<h3>Vi takker for din henvendelse via kontaktformularen hos SEO-Webdesign, som vi snarest vil besvare. Nedenstående får du en udskrift af din henvendelse</h3>
<table>
<tbody>
<tr>
<td>Skriv dit navn</td>
<td>Nina Balslev</td>
</tr>
<tr>
<td>Skriv evt. dit telefonnr.</td>
<td></td>
</tr>
<tr>
<td>Skriv din email</td>
<td></td>
</tr>
<tr>
<td>Emne for henvendelse</td>
<td>Test with debug</td>
</tr>
<tr>
<td>Udvid din henvendelse</td>
<td>Testing debug</td>
</tr>
</tbody>
</table><br /><br />IP: 109.56.80.126
                )

        )

)

Best regards

Nina Balslev
GreyHead 23 Jan, 2017
Hi Nina,

I can't tell from that if the Captcha is working or not - I assume that it is.

Please check that the From Email addresses are set - one appears to be empty; and that they match the domain name.

Bob
NinaB 24 Jan, 2017
Hi Bob

In order to get the Captcha to work I made a copy of the original contact form. The original form was made as a simpel form and the copy as advanced form. I found out how to get the captcha error message to function in the copy from your instructions.

I have tried to find where to correct the following in both the original form with the simple set-up mode as well as the copy with the advanced set-up mode.

Please check that the From Email addresses are set - one appears to be empty; and that they match the domain name

Anyway I have not succeed in finding where to to correct it. Please inform me how to correct it?

Best regards

Nina Balslev
GreyHead 24 Jan, 2017
Hi Nina,

If you were using the Simple Wizard then possibly you had added the Captcha in the Designer tab but not enabled the Captcha in the Setup tab.

You can change a form from using the Simple Wizard to the Advanced Wizard using the Setup Mode box on the General tab - do not try to make the change the other way as you may lose edits made in Advanced mode.

The Email sub-tabs or Email actions on the Setup tab have a From Email box on the Basic sub-tab - this needs to have an email address in it matching the site domain*.

Bob

* I strongly recommend that you do *not* use the Dynamic From Email element in your Email Setups. Using this often results in your emails being marked as spam and dropped into a spam filter. Instead use the static From Email with an address that matches the site domain name and use Dynamic ReplyTo Email for the user email. The result is the same but with a much better chance of good delivery.
NinaB 24 Jan, 2017
1 Likes
Thanks for your support Bob

As far as I see my contact form does function now

Best regards

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

VPS & Email Hosting 20% discount
hostinger