unresponsive script error

  • Profile Image
    Asked on February 17, 2016 at 03:09 PM

    So I've been banging my head for the past 3 days entering lots of fields, making formulas to sub-total them, and getting script errors.  I've scoured the forums for similar issues - both in script errors and formula calculations, and have been unable to figure out my issue (which I am sure will be stupidly simple).  


    I would like to have s sub-total of each of the field sections and it was working ok until I got to the last few sections.  I'm figuring I'm doing something too big, or creating a loop of some sort.  When I get the option to Continue the Script or Stop the Script - my browser freezes.  When I choose to debug the script, I am able to work on the form (my browser does not freeze, but soon pops up the unresponsive script box.  


    This is what I get:


    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.11439:329



    I've cleared my cache, tried the form on different browsers and different computers.  None of that has worked.


    For now I have cloned the form and taken out all the sub-totaling all of the sections and the form is working.  I'm using this for now, but would like to be able to fix the sub-totaling and put that feature back into my form. 




    Are my formulas too long?  Do I have an infinite loop I don't see?  Is it something else?  Any help would be greatly appreciated. 




    Thank you





  • Profile Image
    Answered on February 17, 2016 at 08:12 PM

    This could be related to the amount of conditions that you are using in your form, I see there are a lot of them, you have also a lot of fields, there are 493 fields.

    I also see that most of the conditions are being used to calculate some totals, there are some that seem to be some complex operations. This could be the reason why your forms is freezing, when I loaded it took some time to load completely.

    I think that your calculations may be done using the Form Calculation Widget, so you will to use the conditions some conditions that you are currently using.

    This should allow your form to load properly and complete it without any problem.

    Also, here is a guide about calculations, you may take a look on it to get further details: http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form.


  • Profile Image
    Answered on February 17, 2016 at 10:49 PM

    awesome.  thank you.   will try it tomorrow.  thanks for the quick response.  you guys rock.