Issue with captcha within a page

laki 04 Jan, 2012
Hi All,

There's a bug in my from when the capture code is incorrect the email address will disappear and shows a Java script error as follows

"<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy84869 = 'lakmal' + '@'; addy84869 = addy84869 + 'cetatti' + '.' + 'com'; document.write('<a ' + path + '\'' + prefix + ':' + addy84869 + '\'>'); document.write(addy84869); 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>" in the email field, This happens when I insert a form in to a page as follows {chronoforms}My_test{/chronoforms}

I'm using Joomla! 1.6.4 Stable and Chronoforms 4.0 RC1.9

Please need a solution for this.

Thank you.
GreyHead 04 Jan, 2012
Hi laki,

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
laki 05 Jan, 2012
Hi Bob,

Thanks this works fine. 😀

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