Forums

Setting up Google CAPTCHA instructions

jross 29 Oct, 2019
Hi, I have looked all through the forums for some definitive instructions on how to setup the Google I am not a robot CAPTCHA but without success. Is there a link to the documentation that covers this for Chronoforms6?
Thanks, JR
GreyHead 29 Oct, 2019
Hi jross,

Have you checked the Cfv6 manual? - it's bit out of date but I don't think the ReCaptcha settings have changed significantly.

Bob
jross 29 Oct, 2019
Bit embarrassing I'm sure but I can't find the manual or a reference to it anywhere on the Chronoforms website!!!
Do you have a link?
GreyHead 29 Oct, 2019
Hi jross,

Please go to Products > ChronoForms > Download Free version and select Manual in the Files dropdown

Bob
jross 29 Oct, 2019
1 Likes
Great, thanks for that.
(As an aside, it's not a very intuitive way to create a link to a documentation download. I would never have found it unless you told me).
JR
healyhatman 29 Oct, 2019
The documentation is out of date on this one.

What you want to do - under Views, drag the Google reCaptcha to where you want it. From there you have two options

Manual checking:
Under settings turn off "Check security fields"
Fill in the Site key only
In your submit event, drag a check reCaptcha action, fill in Secret. In the fail event of the action, add an error message and an "event loader" to go back to the previous page.

Auto
Under settings turn on "Check security fields"
Fill in Site key and Secret in the reCaptcha view
Hope it all works properly.
Galimberti 30 Oct, 2019
Hello,
I hope you can give me a hand, because I don't understand what's wrong.

I followed the steps I found in the CFv6 manual, I created my form, and it works. Except the Recaptcha. If I click on "I'm not a robot", but even if I don't click on "I'm not a robot" the form is sent. The only difference is that if I don't click the recaptcha, I get an error message, stating that I didn't pass the verification. however the form is sent the same. How can I get this fixed?

to note that in -> Design Main form, I filled both google keys for recaptcha. Is it okay or do I just need to fill in the site key field and not private key?



Send photo below to show you how I set it up:
This is the setup for Load
healyhatman 30 Oct, 2019
In your submit event, in your check recaptcha action, you need to use an event loader that points to your load event otherwise it will just continue execution.
Galimberti 05 Nov, 2019
I thank you for the quick reply.
but it seems to me to have already put in submit event, in check recaptcha action, an event loader that points to load event, or am I wrong? as you can see from the picture below in the google recaptcha fail check section, I inserted the load event pointing to the Load page. Do I have to insert another one somewhere, always under the google recaptcha check?
healyhatman 05 Nov, 2019
When you say you're not getting any success can you be more specific? What exactly is the problem?
Galimberti 06 Nov, 2019
Unfortunately the problem is that if I compile the form, but I don't click on the recaptcha, and I click the submit button, the form is sent anyway. The message comes out that I didn't pass the captcha verification code, but the e-mail to me with the completed form arrives anyway. The image in the previous post shows the configuration of the Load page and the Submit events.

I would like that, by filling in the form without clicking on the verification captcha, the form is not sent and the page is reloaded, indicating the error message.

Thank for the help!
;)
healyhatman 06 Nov, 2019
What's inside the success block for your validate fields action?
Galimberti 07 Nov, 2019
hi,
Thanks for the answers, inside the validate field i have this:
healyhatman 07 Nov, 2019
You've told it "check field. If they're right, send email. AND THEN check recaptcha"
Galimberti 08 Nov, 2019
Thanks for the answer,

where do I find this "check field"?
I can't find this field anywhere "check field. If they're right, send email, and then check recaptcha". I tried to look in the settings of each field but I can't find it ..

Sorry my difficulty but in the previous versions the recaptcha was definitely easier.
healyhatman 08 Nov, 2019
LOOK AT THE ORDER OF YOUR ACTIONS

You're sending the emails before you've checked the recaptcha
Galimberti 08 Nov, 2019
I checked the order of the actions, I modified the position of the recaptcha and I should have put it before sending the email. I did a test but nothing, still send the mail even if I don't click on the recaptcha.

I created a guest access, if it's not too much trouble you could check, so based on your changes I learn for next time.

http://www.fisioterapiacioni.it/administrator/index.php?option=com_chronoforms6&cont=connections
user: guest
psw: 12345

in chronoform the form ID is 5,
Thank you so much.

Andrea
healyhatman 08 Nov, 2019
guest access doesn't give me admin access how about you show me what you have now
Galimberti 08 Nov, 2019
Thanks for the reply,
I sent you a private message!

Meanwhile, I also send you the full screen of the "Setup" page of my form, if it can help you.


Thank you too much for the help you give me![file=12390]Setup_chronoform.png[/file]
healyhatman 08 Nov, 2019
Answer
Each action happens IN THE ORDER YOU HAVE THEM IN. So if you put the email BEFORE the check recaptcha action, it will send it before it checks the recaptcha.
Galimberti 08 Nov, 2019
I feel stupid!😉 🧐
I hadn't really thought that it should go before the e-mail action, I thought the block was processed all together.

Perfect, at this point it works!

Thank you very much indeed,
This topic is locked and no more replies can be posted.