Forums

Captcha/ReCaptcha Issues

applebox 15 Nov, 2013
I have a custom HTML form that I was using the Chronoform defalut captcha code on and it was sometimes working and sometimes not. I'm using the code {chronocaptcha_img}. I'm getting the captcha image, but sometimes it says "Wrong code".
I want to put in ReCaptcha. I have it enabled in the plugins, I have the public and private keys entered, but changing the code to {ReCaptcha} doesn't seem to work. Nothing shows up. Again, I am using a Custom HTML form, not the Wizard layout.

I have tried to just use straight PHP code found on the documents page of the ReCaptcha site. That displays the ReCaptcha just fine, but it doesn't properly validate. I have downloaded their library, but it's not working.

How can I get the {ReCaptcha} function to work in the custom html? I would think it would work the same as {chronocaptcha_img} but apparently not.

Thanks for any help you can give.
Max_admin 16 Nov, 2013
Hi applebox,

Do you have the correct "load" atcion for either captcha or "recaptcha" added ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
applebox 18 Nov, 2013
Where do I set that on a Custom HTML form? I know how to do that with the Wizard layout.
Max_admin 19 Nov, 2013
Just in your own HTML code for the form, just use {ReCaptcha}

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
applebox 19 Nov, 2013
Max,
Please read my post. This is the problem - that code is not working properly. When you submit the form, it always comes back that you typed the wrong code in.
Your built-in Captcha is doing the same thing but it's hit and miss. Sometimes it does go through and most other times it doesn't.
They client is on my case about this and I need to get this solved ASAP. What do you suggest?
Mike
pat01 19 Nov, 2013
Hi Mike

Where do I set that on a Custom HTML form? I know how to do that with the Wizard layout.



Actions are set up in the "Events" Tab by dragging and dropping Actions into it.

Assuming you are using CF v4 (I'm not 100% sure about CF v3), you can open any form that contains custom HTML by using the Wizard. Just click on the link Wizard edit in the Forms Manager.

This will open the Form Wizard and there you go... 🙂

The red warning message

"Your form type is "Custom" and so you can NOT add/edit the form fields (code) in the wizard, any fields you add here now will NOT be saved."

tells you, that you can't edit the form fields with the Wizard (because you are using a custom HTML Form).
But but you still can add actions!
And if you want to use captcha, you must add the proper actions.

Patrick
applebox 19 Nov, 2013
Thank you Patrick. That's the answer I was looking for. I was under the assumption that I couldn't use that section of the component because I was using a custom HTML form.
I'll give that a go.
Mike
applebox 19 Nov, 2013
That did the trick. Thanks so much for your help!
This topic is locked and no more replies can be posted.