Not able to load the form due to script errors that crashes the browser and Form Builder

  • Profile Image
    plungefetish1
    Asked on September 23, 2017 at 10:35 PM

    My form is here

    https://form.jotform.us/71868132784163


    My form is no longer working in Form Builder Preview mode, Firefox or Chrome.  

    I believe that one bug is causing all of my problems. Yesterday I made my site SSL secure, this is the page where my form is embedded as an iframe :

    https://plungefetish.com/ratestemp.php

    I have written descriptions of the problems I am having in each mode or browser, they are:

    FORM BUILDER

    When I am in the Jotform form builder and I click on preview I receive this error message

    " A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.

    Script: https://cdn.jotfor.ms/static/jotform.forms.js?3.3.1739:464 "

    FIREFOX

    When I try to load https://plungefetish.com/ratestemp.php into the Firefox browser I get this message:

    " A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.  

    Script: https://cdn.jotfor.ms/static/jotform.forms.js?3.3.1739:250

    CHROME

    When I load https://plungefetish.com/ratestemp.php into Chrome the page and form load well bet when I click on an option in the Pick a Payment field it is slow to respond. The hidden fields that show as a result of conditional logic do not have values in them. They only contain the name of the referenced form field.  It is as if the values above are not passing thru to the lower fields. 

    What can I do to correct this?

    Thank you for looking over this.




    My form is here


  • Profile Image
    jonathan
    Answered on September 23, 2017 at 10:49 PM

    My browser is also crashing when I tried loading your form https://form.jotform.us/71868132784163

    I see a lot of error shown on the console browser.


    Allow me some more time to investigate the form. I'll be back shortly.


  • Profile Image
    jonathan
    Answered on September 23, 2017 at 11:03 PM

    Unfortunately I could not review the form properly since I could also not load it on my Form Builder. The form have a lot of script error going on that it was crashing my browser.

    I will elevate this thread to our higher team support so that they can also check what is going on with your form.

    We will notify you here once we have update on the status of the ticket.

    We apologize for any inconvenience caused.

  • Profile Image
    plungefetish1
    Answered on September 23, 2017 at 11:26 PM

    Thank you Johnathon .  

    I saw all the bugs you mentioned and they were not there a few days ago.  I am also the only one with the ability to edit the account. Could the problem have been caused by my upgrading my Jotform account form free to Bronze a couple of days ago?

  • Profile Image
    jonathan
    Answered on September 23, 2017 at 11:42 PM

    Could the problem be caused by the person who built and maintains my website? 

    From what I have checked, it has nothing to do with your website. The form itself have the issue. I could not load the form in my Form Builder.

    I have notified our higher team support about the problem with the form. I am sure they have the means to check your form and identify the caused of the script errors that crashes the Form Builder.

    Let us wait for the response from them.

    Thanks.

  • Profile Image
    plungefetish1
    Answered on September 24, 2017 at 01:13 PM

    Hi Johnathon,  

    I need to finish the form today so I have reverted to an earlier version which does not give me script errors.

    Unfortunately the older version still has one of the problems listed above. 

    The form works well on the Jotform site in preview mode.  It also works well when I access it as a stand alone page like here - https://form.jotform.us/71868132784163

    The problem occurs on my website. https://plungefetish.com/ratestemp.php

    When I go to my website where it is embedded as an iframe it works well until I select a number in the drop down field "How many payments?"  Any number I select gives me the same  bad result.  The hidden fields that show as a result of conditional logic do not have values in them. They only contain the name of the referenced form field.  It is as if the values above are not passing thru to the lower fields. 

    What can I do to correct this?

    Thank you for looking over this again.

    The form is here https://form.jotform.us/71868132784163

  • Profile Image
    jonathan
    Answered on September 24, 2017 at 02:15 PM

    I see an error with the payment field.

    Can you please try first removing the payment field in the form and then just add a new one back again.


    Lets try if refreshing the payment field resolve the issue by itself.

    Let us know how it goes.


  • Profile Image
    plungefetish1
    Answered on September 24, 2017 at 02:58 PM

    I removed the payment field and then put a new one back in and it still is not working


  • Profile Image
    Nik_C
    Answered on September 24, 2017 at 03:41 PM

    I tested your form by loading it from Preview, but I'm not able to replicate this problem in the same way like you and my colleague did (I tested in Chrome):

    Are you still able to replicate this problem?

    Please let us know.

    Thank you!

  • Profile Image
    plungefetish1
    Answered on September 24, 2017 at 04:32 PM

    the problem is still occurring .   I was able to get the form to work in preview but it does not work on my website The problem occurs when you access the form thru an iframe .    It is embedded on my website here: https://plungefetish.com/ratestemp.php 

    Please try it out there.

  • Profile Image
    Jim_R
    Answered on September 24, 2017 at 05:53 PM

    From what I see, the issue with 700+ lines of errors that caused the browser to be unresponsive then crash due to exceeding the maximum call stack was from the standalone version of your form (not the embedded one).

    However, just like Nik, I failed to see this issue now. Below are screenshots of your form and the browser console on 3 locations:

    Form Builder:

    Standalone Form:

    Embedded form:

    I'm still seeing some console errors but the form is not crashing my browser regardless of where I view it. I cleared your Form Cache to see if that will help. From your end, please try clearing your browser's cache and cookies then give it another try.

    If the issue persists, please let us know. Your thread is already escalated nonetheless and any further info that you can add will be welcome and appreciated.

  • Profile Image
    plungefetish1
    Answered on September 24, 2017 at 06:36 PM

    I cleared my browser cache and the embedded form is still not working. 

    These are the steps that a customer will follow to make a booking:

    1. Leave the dates in the default setting and scroll down to Pick Your Room.

    2. Select any room from the Pick Your Room drop down.

    3.Scroll down to the Pick Your Payment option and select either A or B

    4. If you select A another drop down will appear, How Many Payments?

    5.Select any number and then the fields that are shown will be incorrect.  The hidden fields that show after you select a number do not contain the form field values, they only contain the form field references.

      It is as if the values above are not passing thru to the lower fields. 

    From the Embedded Form when you chose Option B


    From the Embedded Form when you chose Option B

  • Profile Image
    plungefetish1
    Answered on September 24, 2017 at 10:16 PM

    Hi,

    Has anyone had a chance to look at this ?

    Thanks

  • Profile Image
    John_Benson
    Answered on September 24, 2017 at 10:36 PM

    Could you please tell us more about your calculation in the Total Package and Pick your room?

    Pick your room conditions:

    Total Package Price conditions:

    Is it calculating properly?  

    Also, I checked your form and I was not able to find the {Of} and {Of96}. For more information on Field IDs and Names, please visit this link: https://www.jotform.com/help/146-How-to-Find-Field-IDs-and-Names

    We'll wait for your response. Thank you.

  • Profile Image
    plungefetish1
    Answered on September 24, 2017 at 11:14 PM

    Could you please tell us more about your calculation in the Total Package and Pick your room?

    They are calculating correctly every time. 


    "checked your form and I was not able to find the {Of} and {Of96}"

    Those two fields are at the bottom of the form


    "Of" is the field " #of payments"

    "Of96" is the field "Payment Amount"

  • Profile Image
    Nik_C
    Answered on September 25, 2017 at 01:58 AM

    I checked the form and I see that the form is working properly when I tested directly on the form:

    But the same is not working when accessed through the website.

    The issue could be related to how the form was embedded, so I would suggest you to try to embed your form by using the iFrame embed method, you can try this code:

     <iframe id="JotFormIFrame-71868132784163" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotform.us/71868132784163" frameborder="0" style="width: 1px; min-width: 100%; height:2112px; border:none;" scrolling="no"> </iframe>

    Let us know if the issue is resolved.

    Thank you!