Forums

Javascript messes up senders email address

ms_buggy 05 Oct, 2011
Hello,

I'm avare about that the issue is not, at least fully, about chronoengine. But as the this is so good component and forum is so helpfull, I'll take a risk and start digging from here.

The problem is that the filled in email address has been converted with javascript text: "address is replaced Email address protected by JavaScript" on email that I receive.
I dont have any of that kind of javascript functionality on my site.
I would be very pleased about any information about how this can happen.

kind regards,
buggy
Max_admin 05 Oct, 2011
Hi buggy,

Here is the answer copied from another post made by Bob:

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

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ms_buggy 06 Oct, 2011
Excellent!
You are absolutely right, there's a cloaking plugin enabled, and it is listed above chronoforms plugin. I will change the plugin ordering as you suggested. Hope that will fix the the problem.
Have to wait and see what happens. Because...

I dont feel very safe with the solution (even it totally makes sense) because I was totally unable to repeat this to happen, if I insert email address to the field, javascript wont mess it up.
Is the any explanation for this?

Joomla 1.5.22
Chrono 4.0 RC1.9

Thank you so much!
GreyHead 06 Oct, 2011
Hi ms_buggy,

I'm not clear what your concern is? With the plug-in order changed you wil not see any errors and the emails in the forms will be left alone.

There is also an option that you can add in the form HTML that will turn the cloaking plug-in off for the form page if you prefer. Check the cloaking plug-in help.

Bob
ms_buggy 06 Oct, 2011
Hello GreyHead!
I am assuming that the problem has been solved as descripted above.
Problem is that (most likely nothing to do with chronoform) that as I sent test emails, the address is not "protected" by javascript. So I'm not able to reproduce the "address is replaced Email address protected by JavaScript" -replacement. As if the plugin messes up the email address I'm assuming that it would protect it anycase, everytime(?).

Replacement has happened once on the live site, so I'm not feeling 100% comfortable about this wont appear again.
Anyways, this Is just to make full sense.

Ps. I think that It would be good idea to somehow inform this in chronoform documentation, or control plugins on install, if possible. But I guess I would have run into this problem as if the "protection" would have been affected to the sent test mails.

Kind Regards,
Ms Buggy
This topic is locked and no more replies can be posted.