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

    I have edited a form and now it won't publish to my web site

    Asked by urbanecolife on January 15, 2016 at 12:40 AM

    I have an online magazine and recently edited a Subscription Form for my web site.  However, when I click Publish to receive the Embed code to link it to on my software (I am using Wix), nothing happens.  It has also somehow deleted the original form from my web site.

    Please could you assist - I need this form to work urgently.  It can be found at: http://www.jotform.com//?formID=52462061099556

    The web address is www.urbanecolife.biz if you need that as well - the form is under the Subscribe Page on the Subscribe button on the left of the page under the magazine cover photo.

    Thank you.

    Kind regards


    Bronwyn Howard - Editor, Urban Eco Life E-magazine

  • Profile Image
    JotForm Support

    Answered by BJoanna on January 15, 2016 at 04:52 AM

    On page you provided this form http://www.myjotform.com/form/53452795791569 is embedded.  

    I have logged in to your account and I was able to copy the code of your form for Wix Site.

    This is the code that I copied:












        <script type="text/javascript">

          window.handleIFrameMessage = function(e) {

            var args = e.data.split(":");

            var iframe = document.getElementById("JotFormIFrame");

            if (!iframe)


            switch (args[0]) {

              case "scrollIntoView":



              case "setHeight":

                iframe.style.height = args[1] + "px";


              case "collapseErrorPage":

                if (iframe.clientHeight > window.innerHeight) {

                  iframe.style.height = window.innerHeight + "px";



              case "reloadPage":




            var isJotForm = (e.origin.indexOf("jotform") > -1) ? true : false;

            if(isJotForm && "contentWindow" in iframe && "postMessage" in iframe.contentWindow) {

              var urls = {"docurl":encodeURIComponent(document.URL),"referrer":encodeURIComponent(document.referrer)};

              iframe.contentWindow.postMessage(JSON.stringify({"type":"urls","value":urls}), "*");



          if (window.addEventListener) {

            window.addEventListener("message", handleIFrameMessage, false);

          } else if (window.attachEvent) {

            window.attachEvent("onmessage", handleIFrameMessage);


          if(window.location.href && window.location.href.indexOf("?") > -1) {

            var ifr = document.getElementById("JotFormIFrame");

            var get = window.location.href.substr(window.location.href.indexOf("?") + 1);

            if(ifr && get.length > 0) {

              var src = ifr.src;

              src = src.indexOf("?") > -1 ? src + "&" + get : src  + "?" + get;

              ifr.src = src;





    That is the code of your form http://www.myjotform.com/form/52462061099556. Embed that for to your website. Also inside of this guide you can find out how to embed form to Wix website:


    Hope this will help. Let us know if you need further assistance.