I have a template with this code…
<div id="wufoo-q7x1k3">
Fill out my <a href="http://graftechnology.wufoo.com/forms/q7x1k3">online form</a>.
</div>
[removed]var q7x1k3;(function(d, t) {
var s = d.createElement(t), options = {
'userName':'graftechnology',
'formHash':'q7x1k3',
'autoResize':true,
'height':'592',
'async':true,
'header':'show',
'ssl':true};
s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
s.onload = s.onreadystatechange = function() {
var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return;
try { q7x1k3 = new WufooForm();q7x1k3.initialize(options);q7x1k3.display(); } catch (e) {}};
var scr = d.getElementsByTagName(t)[0], par = scr[removed]; par.insertBefore(s, scr);
})(document, 'script');[removed]It’s located at http://www.victorycoc.com/contact/test
When the page is rendered, it breaks, because EE is removing a set of brackets at the end. If you look at the source, you see this code.
<div id="wufoo-q7x1k3">
Fill out my <a href="http://graftechnology.wufoo.com/forms/q7x1k3">online form</a>.
</div>
[removed]var q7x1k3;(function(d, t) {
var s = d.createElement(t), options = {
'userName':'graftechnology',
'formHash':'q7x1k3',
'autoResize':true,
'height':'592',
'async':true,
'header':'show',
'ssl':true};
s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
s.onload = s.onreadystatechange = function() {
var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return;
try { q7x1k3 = new WufooForm();q7x1k3.initialize(options);q7x1k3.display(); } catch (e) ;
var scr = d.getElementsByTagName(t)[0], par = scr[removed]; par.insertBefore(s, scr);
})(document, 'script');[removed]Down on the bottom, by the catch (e).
Any ideas what’s going on here?
Thanks!