Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #999254

    FoothillsCraftGuild
    Participant

    How would I add the following script to insert a form, made with CoffeeCup Web Form Builder, into site please? I’ve tried several different things from forum search but nothing worked so far. Using latest X and WordPress, Renew Stack.

    <script type="text/javascript">// < ![CDATA[
    // < ![CDATA[ document.write(unescape("%3Ciframe id=\"fb_iframe\" src=\"http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" + window.location.search + "\" width=\"100%\" height=\"1934\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E<a href="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" title="friendsdonate">Check out my CoffeeCup Form</a>%3C/iframe%3E"));
    // ]]></script>
    <noscript>
    <iframe height="1934" style="border:none; background:transparent; overflow:hidden; width:100%;" id="fb_iframe" src="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate/friendsdonate.html">
    <a href="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" title="friendsdonate">Check out my CoffeeCup Form</a>
    </iframe>
    </noscript>

    Thank you in advance for your assistance!

    #999323

    Paul R
    Moderator

    Hi,

    Thanks for writing in!

    You can add your code in a raw content element.

    Thanks

    #1000301

    FoothillsCraftGuild
    Participant

    Thank you very much. I should have let you know and I apologize I didn’t, before I wrote I tried that, and tried adding it straight in text mode in WordPress, neither way worked. It worked adding through WordPress editor text mode, but it broke other parts I did in Cornerstone. I tried custom js area in Cornerstone as well but it yielded no results whatsoever.

    #1000727

    Rad
    Moderator

    Hi there,

    In that case, please provide your site’s URL and admin login credentials for testing. I also like to know which versions you’re currently working on.

    Thanks!

    #1000913

    FoothillsCraftGuild
    Participant
    This reply has been marked as private.
    #1000974

    Rue Nel
    Moderator

    Hello There,

    Which page do you want to add this script? Do you want this is a single page or put it somewhere like the header which will be visible for the whole through out the site?

    Please clarify.

    #1002085

    FoothillsCraftGuild
    Participant
    This reply has been marked as private.
    #1002605

    Rad
    Moderator

    Hi there,

    Is it the correct code? I added it and it’s there, but should it display something?

    Thanks!

    #1002713

    FoothillsCraftGuild
    Participant
    This reply has been marked as private.
    #1002868

    Rue Nel
    Moderator

    Hello There,

    It appears that your code is not correct. To resolve this issue, please edit your page in Cornerstone, insert a Raw Content element and then you need to add this code instead:

    
    <script type="text/javascript">
    <![CDATA[ document.write(unescape('<iframe id="fb_iframe" src="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" + window.location.search + "" width="100%" height="1934"allowtransparency="true" scrolling="no" frameborder="0"><a href="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" title="friendsdonate">Check out my CoffeeCup Form</a></iframe>'));
    ]]></script>
    <noscript>
    <iframe height="1934" style="border:none; background:transparent; overflow:hidden; width:100%;" id="fb_iframe" src="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate/friendsdonate.html">
    <a href="http://foothillscraftguild.org/x-site/formsonline/friendsdonate/friendsdonate.php" title="friendsdonate">Check out my CoffeeCup Form</a>
    </iframe>
    </noscript>

    I have tested this code in my local install and this is what I’ve got:
    http://prntscr.com/b6ns2c

    I would recommend that you please double the code from the original source to make sure that it will display correctly on the page.

    #1006530

    FoothillsCraftGuild
    Participant
    This reply has been marked as private.
    #1006608

    Rupok
    Member

    Hi there,

    Loading a form from different source is never a good idea and it doesn’t look good or perform well. You can use a plugin like Gravity Form or Contact Form 7 to build form to use on your page. Unfortunately we can’t assist much for the form you are working on as it’s loading from a different source that couldn’t be controlled anyhow.

    Thanks for understanding.

    #1007091

    FoothillsCraftGuild
    Participant

    I will just put the code in WordPress editor, I looked and saw that the other forms are still performing well. Not sure the difference but there’s some little quirky thing somewhere I’m sure that would alleviate the problem. It’s always a dot, comma, hypen . . . LOL

    The form is loading from our own hosting account where I uploaded them, or maybe I didn’t quiet understand your statement about that.

    Thank you for your assistance thus far, it is greatly appreciated. I don’t mind to have a few pages I can’t use Cornerstone and things on; the forms are most important.

    Have a great day! 🙂

    #1007142

    Joao
    Moderator

    Hi There,

    Thanks for understanding.

    Let us know if you need help with anything else.

    Joao

    #1007493

    FoothillsCraftGuild
    Participant

    Thanks so much! I did see something and tried my best to not care, but I can’t, I gotta see if it can be fixed 😉

    On the pages with a form on them at the top there’s a sliver of color, then at the bottom there’s a row of color (white). I’ve tried firebug inspect and there’s nothing showing on text editor in WordPress so I can’t find any coding to remove to fix it. I’ve not been in Cornerstone, I’m afraid of breaking something if I go back and forth. I’ll paste three page links below.