Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22268

    I am trying to embed a wufoo form on my site, and every time I paste the script code it crashes the page and won’t let me use it, presumably because it is trying to load a preview. How can this be fixed? I have done this a hundred times on other sites and never had a problem. Here is the code I am trying to paste in:

    <script type=”text/javascript”>var host = ((“https:” == document.location.protocol) ? “https://secure.” : “http://”);document.write(unescape(“%3Cscript src='” + host + “wufoo.com/scripts/embed/form.js’ type=’text/javascript’%3E%3C/script%3E”));</script>

    <script type=”text/javascript”>

    var w7p6s9 = new WufooForm();

    w7p6s9.initialize({

    ‘userName':’creativestream’,

    ‘formHash':’w7p6s9′,

    ‘autoResize':true,

    ‘height':’577′,

    ‘header':’show’,

    ‘ssl':false});

    w7p6s9.display();

    </script>

    #115135

    Hey!

    I can reproduce the issue and I marked the thread for Kriesi. As a temporary solution you can also try: http://wordpress.org/extend/plugins/insert-html-snippet/

    Best regards,

    Peter

    #115136

    Hey! Got it and can also reproduce the issue. Unfortunately the code gets injected into the layout builder in your frontend and the javascript implodes. We will need to add an additional element in the future that allows to paste javascript.

    Might take a while but it will be available. Btw: the form you were building here looks like you could also build it with our own form generator. Did you try that?

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Script code in Avia layout builder’ is closed to new replies.