Forums

ReCaptcha and User Friendly URLs

michaelkadrie 06 Dec, 2009
I have a site using User Friendly URLs and if a wrong code is put into the ReCaptcha field, it sends the page to the standard link and when it does that, the ReCaptcha disappears.
The other problem is that the fields lose their content and the user has to type everything back in.
Any suggestions on these?
GreyHead 06 Dec, 2009
Hi adgrocks01,

There's a setting on the form General Tab to ask ChronoForms to Try to republish the form data.

Not sure why you should be losing the ReCaptcha on re-display - can you post a link to the form?

Bob
michaelkadrie 07 Dec, 2009
BTW, that did fix the issue with the data, but not the issue with the UFUs.
When there is an error, it goes to:
http://new.shekinahranch.com/index.php?option=com_chronocontact&task=send&chronoformname=form1&Itemid=18
Like the UFUs are turned on.
GreyHead 07 Dec, 2009
Hi adgrocks01,

ChronoForms isn't very good at repeating SEF URLs, perhaps you can add a custom url for the version with task=send in it?

I'm not sure that this is a practical problem except that it doesn't look very pretty??

Bob
michaelkadrie 07 Dec, 2009
Any tutorials or samples of how to do that here?
GreyHead 07 Dec, 2009
Hi adgrocks01,

Sorry, no, that's one for the SEF package that you are using.

Bob
michaelkadrie 07 Dec, 2009
I just thought that maybe there was some code in the template that ends up forwarding to the standard link instead and maybe I could alter that line of code.
If this is an issue with using ReCaptcha, then how do I implement the other standard Captcha?
I tried disabling the ReCaptcha and enabling the built-in captcha and it didn't work. Seemed as if I was missing a step somewhere. Is there a code that needs to be put in place? Would this cure the problem I'm having at all or will it still get re-directed the same way?
Sorry for all of the questions. This is the only thing holding up the release of the site.
I've used ReCaptcha with Chronoforms before with no problems so I don't know why it is an issue here. Might be a version issue though.
GreyHead 07 Dec, 2009
Hi adgrocks01,

There is a line in the code but it applies to all forms so you probably don't want to change it specifically for this one.

For the standard imageverification you need {imageverification} in the form HTML and enable it on the Anti-Spam tab. But I think it will behave the same way.

Bob
michaelkadrie 07 Dec, 2009
Thanks for your help. Guess I really need to think of a better solution.
GreyHead 07 Dec, 2009
Hi adgrocks01,

Is the problem here just that the url isn't pretty or am I missing something 'more important'?

Bob
michaelkadrie 08 Dec, 2009
No, the problem is that if there is an error, it returns to a page that is not URL friendly. I wouldn't have a problem with that, but when it returns, I just see {ReCaptcha} on the page and the ReCaptcha is not there. I'm thinking that the UFUs are having an effect on that. If you think it will do the same thing with basic captcha, then I'm forced with finding another solution. If you think this is something that you can cure, then I would much rather use ChronoForms - it is a nice tool.
GreyHead 08 Dec, 2009
Hi adgrocks01,

Ok - I understand that problem. I'm still backed up after my holiday but I'll take a look as soon as I can. Bump if I haven't got back in a couple of days.

Bob
GreyHead 11 Dec, 2009
Hi adgrocks01,

I can't replicate this. I tried using a short url to access my form and it does switch to the long url on an error but the ReCaptcha is still displayed correctly.

I also had a look in Max's ChronoForms code and that should re-display OK as far as I can see.

Bob
michaelkadrie 11 Dec, 2009
very weird. It seems to be working now. It might be an issue with the testing environment.
The site is live now and now the ReCaptcha is there.
Should still try to find a way to have this point back to the short URL if possible.
Thanks for your help though.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger