Forums

Javascript Bleed to Textarea Field with Captcha

hpinson 12 Oct, 2011
V4 RC2.0, in a form built with Wizard Edit

When I incorrectly input captcha text in a form, with Load Captcha and Check Captcha enabled.

The form reloads, with the "1. You have entered a wrong verification code!", as expected, but...

In my user input form textarea email_address field, rather than the email address which the user added before attempting to submit is this:

<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy90749 = 'hpinson' + '@'; addy90749 = addy90749 + 'indepthl' + '.' + 'com'; document.write('<a ' + path + '\'' + prefix + ':' + addy90749 + '\'>'); document.write(addy90749); document.write('<\/a>'); //-->\n </script><script type='text/javascript'> <!-- document.write('<span style=\'display: none;\'>'); //--> </script>This e-mail address is being protected from spambots. You need JavaScript enabled to view it. <script type='text/javascript'> <!-- document.write('</'); document.write('span>'); //--> </script>

Any ideas how to stop this behavior?
GreyHead 13 Oct, 2011
Hi hpinson,

You have the Joomla! Email Cloaking Plug-in enabled and it is trying to cloak the sample e-mail in the ChronoForms validation message. Disable the plug-in temporarily to check this is the problem. If you need the plug-in change the plug-ins order so that Email Cloaking runs
before ChronoForms.

NB These are Joomla! plug-ins that you manage from Site Admin | Extensions | Plug-in Manager

Bob
hpinson 13 Oct, 2011
Thanks Bob. Now that I think of it, I had the same problem about a year ago. I use Chronoforms infrequently, so appreciate your patience. My memory is that disabling the email cloaking solved the problem.

Question-- the email cloaking in Joomla 1.7 seems a very useful feature. Is there any way down the road to get Chronoforms and the Joomla email cloaking plugin to co-exist gracefully?
GreyHead 13 Oct, 2011
Hi hpinson,

Sure . . .

If you need the {Email Cloaking] plug-in change the plug-ins order so that Email Cloaking runs before ChronoForms.


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