Hi Forum,
I have put Google's conversion tracking code in the javascript section on one of my chronoforms. However < gets translated to < when Joomla sends the html back to the browser.
I believe this is being done by XSS protection within Joomla, but cannot see how to get it working in my form. Not keen on the idea of hacking the core, and disabling XSS protection seems not a good either.
Thoughts please?
Thanks,
Andy
I have put Google's conversion tracking code in the javascript section on one of my chronoforms. However < gets translated to < when Joomla sends the html back to the browser.
I believe this is being done by XSS protection within Joomla, but cannot see how to get it working in my form. Not keen on the idea of hacking the core, and disabling XSS protection seems not a good either.
Thoughts please?
Thanks,
Andy
Bob,
Spot on - much appreciated. Another thing that may interest people is that if you refer to the form as an article (i.e. use it via the plugin) then Joomla won't filter the code out (assuming on whitelist in settings - default for administrator).
This may be important for others doing something tangential...
Thanks,
Andy
Spot on - much appreciated. Another thing that may interest people is that if you refer to the form as an article (i.e. use it via the plugin) then Joomla won't filter the code out (assuming on whitelist in settings - default for administrator).
This may be important for others doing something tangential...
Thanks,
Andy
This topic is locked and no more replies can be posted.