Hi Tuan,
I've discovered a bit of a problem with the email address field on the Payments form and Joomla's email cloaking plugin, but only under two circumstances.
1. If a user is logged in to the site and goes to use the payment form, their email address automatically is entered in to the email field, but cloaked with javascript as follows:
Code:
<!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy1075 = 'zaphod' + '@'; addy1075 = addy1075 + 'snaffle' + '.' + 'biz'; document.write('<a ' + path + '\'' + prefix + ':' + addy1075 + '\'>'); document.write(addy1075); document.write('<\/a>'); //-->\n <!-- document.write('<span style=\'display: none;\'>'); //-->This email address is being protected from spambots. You need JavaScript enabled to view it.<!-- document.write('</'); document.write('span>'); //-->
I've had to remove the actual script tags to get the post to submit.
I don't have integration with Community Builder or Jomsocial turned on so I'm not sure why the email address has anything in it all, but if it is going to display it would obviously be preferable if it displayed properly.
2. If I've completed the payment form and gone through to the confirmation page, and then click on the Back button, the same thing happens with the email address - it is displayed hidden in javascript. All of the other form information is retained but the email address doesn't display properly.
It would be great if you could have a look at these two issues and let me know if there's an easy fix I can apply.
Thanks
Nathan