Embed script is not working and is showing an error message in the console

  • Profile Image
    Marc 
    Asked on March 13, 2020 at 04:11 PM

    Hi, 

    I have 3 forms with domain "form.jotform.com" that have stopped working. A few hours ago they worked. The others with domain "form.jotformeu.com" work correctly.

    An example of form that doesn't work is this:

    <script type="text/javascript" src="https://form.jotform.com/jsform/200715037822347"></script>

    The browser indicates that it is a javascript error from your library. Attachment screenshot.

    I need to embed the forms this way. The other methods (iframe, pop-up, etc.) work but I can't use them. 

    It is urgent. Thanks :)

  • Profile Image
    Mike_G
    Answered on March 13, 2020 at 04:57 PM

    We would like to apologize for any inconvenience. I was able to reproduce the issue you have described when I tested the embed script of your form here.

    https://shots.jotform.com/MikeG/screenshot/2208828-embed-script-test.html

    Please allow me some time to check this and I'll get back to you in this thread the soonest.

  • Profile Image
    Mike_G
    Answered on March 13, 2020 at 05:18 PM

    Upon checking further, it appears that the issue is only happening with your form and its cloned versions.

    I have escalated the issue to our developers so they can have a closer look at the issue.

    You mentioned that you have 2 other forms that have the same issue. Can you tell us which are those forms so we can include it in the ticket, please?

    We will wait for your response.


  • Profile Image
    Marc 
    Answered on March 14, 2020 at 12:46 PM
    Hello,
     
    I have discovered the problem. They stop working when the option "SMART EMBED" is activated.
    Please, can you fix it? We need them to be seen correctly.
     
    Thanks.
    /Marc

  • Profile Image
    Mike_G
    Answered on March 14, 2020 at 01:57 PM

    Thank you for the additional information. Please allow me some time to check and test each form. I'll get back to you as soon as possible.

  • Profile Image
    Marc 
    Answered on March 14, 2020 at 02:03 PM

    Hi, now they're working again.

    Thanks.

  • Profile Image
    Mike_G
    Answered on March 14, 2020 at 02:07 PM

    With the new information you have provided, I have tested the issue you are having with the 3 forms you have mentioned.

    I have checked the forms and I can confirm that they are working even with the Smart Embed option enabled.

    https://shots.jotform.com/MikeG/screenshot/2208828-smart-embed-script-1.html

    1584208909zt13_55_13.png

    https://shots.jotform.com/MikeG/screenshot/2208828-smart-embed-script-3.html

    1584208927zt13_55_38.png

    I believe it is safe to say that the issue has already been resolved and we can close the ticket sent to our developers. Otherwise, please do not hesitate to let us know.