Trying to update form content (via clone, edit and pasting the new URL into html code)

  • afmobile
    Asked on September 3, 2014 at 3:35 PM

    The existing code looks like this:

    <iframe allowtransparency="true" src="//form.jotform.us/form/22346341389153" frameborder="0" style="width:100%; height:4525px; border:none;" scrolling="no">

    </iframe>

    The code jotform is telling me to paste is:

    <script type="text/javascript" src="//form.jotform.us/jsform/42447690147156"></script>

     

    I've also tried just replacing the URL portion of the existing code, but I keep getting java errors and the form doesn't appear.  I believe this has something to do with the existing form not using any java tags in the html code, but the new link appears to require it.  How do I just update the content of the form (do not have access to the existing form's account, so we copied it to a new account and tried to link it) and get it to publish as it has always done without the java-specific code?

    Here are some differences between the existing and the new jotform codes:

    "jsform" is included in the new link.  Also, "script type="text/javascript" appears to be specifically for Java and the existing code does not. 

     

     

  • KadeJM
    Replied on September 3, 2014 at 4:30 PM

    If you are unsure of which code to use then I would first recommend reading through this guide to educate you on the differences and then you can decide which suites you best.

    The default script is our javascript code which is why it hands you that at first. The only time you need to implement the aka the iFrame would be where our default script doesn't work which is usually when there is a conflict of some sort that would cause your form to not work properly because your website scripts are likely interfering with it.

    Additionally, your form should automatically update itself after you've edited it by making any modifications which is done through your FormBuilder on your JotForm Account.

    The only time you would need to re-embed it is if there is a conflict and you need to change codes or if you are using the form's source code.