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

    Script not working

    Asked by FootballWest on February 25, 2014 at 09:39 PM

    Hi

    I am using TYPO3 CMS.  When I embed my form, it just pastes the script text rather than the form.  Any ideas?

    This is the script.

    <script type="text/javascript" src="//form.jotformpro.com/jsform/40058792406961"></script>

     

    Regards,

    Keith

    Page URL:
    http://www.footballwest.com.au/index.php?id=227

    Screenshot
    jsform
  • Profile Image

    Answered by Cesar on February 25, 2014 at 11:47 PM

    Is it possible you could try using the iFrame code instead? As the iFrame method helps avoiding script conflicts.

    Do let us know if this does not work for you. Thank you.

    Related Article:
    Getting-the-Form-iFrame-Code

  • Profile Image

    Answered by FootballWest on February 26, 2014 at 12:31 AM

    Thanks for the suggestion.  I tried it but it still did the same thing and posted only the script itself:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformpro.com/form/40058792406961" frameborder="0" style="width:100%; height:1190px; 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>

  • Profile Image

    Answered by FootballWest on February 26, 2014 at 12:39 AM

    Never mind.  User error. :-(