Chronoforms V5 on J3.2.1

francosdad 06 Jan, 2014
Does the recaptcha feature work with Joomla 3.2.1?
before 3.2.1 there was a basic problem with joomla and the url's for recaptcha.
Is it a problem with ChronoForms or maybe still the problem with the urls in joomla?
GreyHead 06 Jan, 2014
Hi Jackprince,

I don't know of any problems with ReCaptcha* in Joomla! 3.2.1 or in earlier versions.

Bob

* Except that some Joomla! templates include CSS that misplaces the ReCaptcha display.
GreyHead 08 Jan, 2014
Hi jackprince,

ChronoForms doesn't use the Joomla! ReCaptcha code so that shouldn't be a problem (though sometimes the CSS gets mixed up).

Please post a link to the form so I can take a quick look.

Bob
francosdad 14 Jan, 2014
FIXED

The order was wrong. I had the load Captcha action after the render action.
Switched it and it works. I guess same works for ReCaptcha.
GreyHead 14 Jan, 2014
Hi jackprince,

In ChronoForms the order of action is usually (but not always) important and should follow the 'logical' form building/processing sequence i.e. in this case you need to set the ReCaptcha before rendering the HTML.

Bob
frank.mueller 14 Jan, 2014
how do i use ReCaptcha on Chronoforms V5?
the howtwo for V4 is not working, right?
Max_admin 14 Jan, 2014
Hi Frank,

There is no ReCaptcha action available for V5 yet, its set for the next release, hopefully by Friday or so!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
frank.mueller 11 Feb, 2014
Thanks for the RC4.
ReCaptcha is now included but not working as it should.

ReCaptcha is not visible after wrong or empty input?
i have to reload the page to see the ReCaptcha again.
Error message because of wrong Captcha on top of the form is visible.
Torty 25 Mar, 2014
I have the same problem, but the order of the events/actions seems to be all right.
Link to an image of my captcha config: http://postimg.org/image/o14lim6p5/

In ChronoForms 3 or 4 I have used that template code:
<input type="text" name="chrono_verification" value="" title="" class="chrono_captcha_input" size="5" maxlength="5" tabindex="<?php echo $tabIdx; ?>" />
                    {chronocaptcha_img}

Now - it doesnt work. In the captcha.php file I have found the code {captcha_img}, but it doesnt work too.
My actual code is that:
<input type="text" name="chaptcha" value="" title="" class="chrono_captcha_input" size="5" maxlength="5" tabindex="<?php echo $tabIdx; ?>" />
                    {captcha_img}


What code I have to use to make the normal captcha work?
Torty 26 Mar, 2014
I think I have found the problem.

My scenario is this:

as code in my form I use this PHP code:

<?php
include 'templates/mytheme/forms/contact.html.php';
?>

the CF engine loads the code from this file and generate the form. The replace mechanism of the captcha plugin doenst work in this scenario, because the str_replace command have no effect of the included code.

A possible solution should be that:
- load the includes data
- modify CF plugin code to proccess the readed code from included file (instead of the data from $form->content )

But I think the implementation isnt trivial.
GreyHead 26 Mar, 2014
Hi Torty,

One way round that is to load your custom HTML in a Custom element in the form - except for the Captcha and submit button. Add those using the standard ChronoForms elements and the form should work OK.

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