reCaptcha not reloading after an error and validating values

phlampe 13 Apr, 2010
Hello All !

I've got the same problem described at the end of this post : Re: Please enter your name......ERROR

I'm developping my first form with ChronoForms, so maybe I missed something.

I enabled the reCaptcha plugin on my registration form, and it loads well at the bottom of my page. If I enter values for all the mandatory fields, but (willingly) enter a wrong reCaptcha value and submit, I get an error message from reCaptcha (at the top of my form) with the string {reCaptcha} displayed (at the bottom) instead of the normal reCaptcha form.

You can try my form here (its a dev site, so you can create boggy users: I'll delete them afterwards): Registration Form

How can I fix this problem ?

Thanks for your help,
Paul-Henri
GreyHead 13 Apr, 2010
Hi Paul-Henri,

Do you have any other plug-ins enabled? I'm wondering if there is a problem with the sequence.

Bob
phlampe 13 Apr, 2010
Hi Greyhead !

Thanks for your quick answer !

I enabled the Joomla Registration plugin only. It also has a connection to a db table (to store the extra fields I want when registering), and sends 2 e-mails.

Paul-Henri
GreyHead 13 Apr, 2010
Hi Paul-Henri,

Please check the plugins tab and make sure that the ReCaptcha plugin is *before* the Joomla Registration plug-in. You can drag the bars with the little blue(?) arrows icon.

Bob
phlampe 13 Apr, 2010
Hi Greyhead !

Thanks for the help: it did the trick, and my form works now after reloading ! I had no idea the plugins could be reordered.

Is there a reference doc (pdf, html...) for all we can do with ChronoForms ? I want to change the styles for example, change the validation error messages (to French), use the Profile plugin to display the details of a registered user etc... and certainly a lot of other things :-) I already downloaded the tutorials, and they're a great help!

For other readers, here's another mistake I did (and auto-corrected by trial and error :-) ): don't enable "Use Image Verification" on the Anti-Spam tab of the form if you're using reCaptcha. In fact, the reCaptcha plugin and the included image verification function are two different mechanisms, and enabling the latter without including an {imageverification} string leads to systematic validation refusals.

Paul-Henri
GreyHead 13 Apr, 2010
Hi Paul-Henri,

I have about 350 pages of the ChronoForms Books written and it covers quite a lot. Still a while before it is published though :-(

For styles there's no useful help except to edit the PHP.

You can add custom error messages in the input 'title' attributes. Not ideal but it works.

Bob
phlampe 13 Apr, 2010
Wow: 350 pages, impressive !

For the error messages, it's the "This field is required" message I wanted to translate.

But don't worry, I can leave it in english.

Thanks again,
Paul-Henri
This topic is locked and no more replies can be posted.