What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Form script is not working

    Asked by NJO on August 25, 2013 at 02:04 PM
    I am using JOomla 
    Ok I have followed the directions in the guide. 
    1. went to the article that i wanted
    2. copied the iframe code and pasted in the toggle page.
    3. clicked saved
    this is the code i pasted
    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotform.us/form/32336398644159" frameborder="0" style="width:100%; height:2315px; border:none;" scrolling="no"></iframe>

    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

     

     

     

    Page URL:
    http://premierfitllc.com/contactus/custom2.html

    JotForm iframe code style height
  • Profile Image

    Answered by EliezerN on August 25, 2013 at 02:11 PM

    Thanks for contacting us.

    Please refer to your another thread at this link: http://www.jotform.com/answers/260089-script-still-not-working#2

    Please use that link to make your questions and comments about your issue, so that we can give you the assistance properly.

    Thanks.