Bug that shows the e-mail address

fcogosen 06 Jun, 2015
Hi,

My name is Paco and I am not sure if it is a bug or not but the problem I get in my website is that:

After filling in all the form fields (name, e-mail, telephone, files to upload,...) and writting bad (on purposal) the captcha code, the form reloads to tell me that the captcha code is wrong (as it is suposed to be), keeping all the information I filled in before in the right fields of the form, except the uploaded files and the e-mail address. The uploaded files field now are empty but it is not a problem for me because you only have to select them again from your hard drive; but I got a big problem with the e-mail field because instead of showing again the e-mail address I filled in before, the e-mail field show me now a piece of code in JavaScript like that:

<script type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy58661 = 'test' + '@'; addy58661 = addy58661 + 'gmail' + '.' + 'com'; document.write('<a ' + path + '\'' + prefix + ':' + addy58661 + '\'>'); document.write(addy58661); document.write('<\/a>'); //-->\n </script><script type='text/javascript'> <!-- document.write('<span style=\'display: none;\'>'); //--> </script>Esta dirección de correo electrónico está siendo protegida contra los robots de spam. Necesita tener JavaScript habilitado para poder verlo. <script type='text/javascript'> <!-- document.write('</'); document.write('span>'); //--> </script>

I understand that this problem is related with the e-mail address encoding protection, but I don't know how to solve that. I will thank any help with this.nHope to having soon any answer from you...

Paco.

PS: Sorry for my bad English.
fcogosen 06 Jun, 2015
Hi GreyHead!

Thank you to answer so fast!!!

After reading this FAQ I disabled the E-mail Cloaking plugin and the problem is over. So, is there any solution for the other part of the problem? I mean, is it possible to keep the selected files to upload by the user after a wrong captcha form previously sent?

Paco.
GreyHead 07 Jun, 2015
Hi Paco,

Sorry, I missed the part about uploaded files.

No, there isn't a way to reload that - the user enters a path on their local computer but this path isn't sent to the server when the form submits so you can't re-display it.

If this is a big problem then you can use a two page form with the Captcha on the first page and the file upload on the second page.

Bob
fcogosen 07 Jun, 2015
Ok, Greyhead. Thank you very much for your help!

I have to tell you that I love your products and the support you offer. You should be very proud about the job your team is doing...


Paco.
GreyHead 07 Jun, 2015
Hi Paco,

Thank you from both Max and myself.

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