Dependency of form loading speed on the choice of condition

  • Profile Image
    Asked on April 25, 2016 at 04:20 AM


    My form have quite a lot of calculations. As a result the form is freezing for some time (although it is working perfectly). The problem is a bit serious in case the form is opened using mobile devices.

    For example I have 5 fields A,(B,C),(X),(D,E). X is the customers input.

    If A is filled B and C will calculated. If B and X is filled D will be calculated. Similarly if C and X is filled E will be calculated. I Now I can do this in 2 ways.

    Case 1: If A and X is filled calculate D and E.

    Case 2: If B and X is filled calculate D. If C and X is filled calculate E.

    Which will give me better speed (recalling the first condition every time, say A, or recalling its derivatives, say B and C) ? 


    In the form there is more conditions

  • Profile Image
    Answered on April 25, 2016 at 07:41 AM

    Thank you for providing more details regarding your concern.

    Logically, the lesser the existing conditions the lesser processing of scripts will be required.


    I checked your form and loaded it on my browser. The initial loading was normal.

    BUT it started to struggle on the next page were there is now calculations being done. The browser hanged up for a while, before it react again.

    I checked the browser console and I see a warning regarding an issue on the computation scripts.

    There must be a an erroneous calculation that was causing the exception error. Unfortunately it is very difficult to identify which one since the console log did not provide much specific details.

    What you can try to identify which condition could be causing the issue is to try disable some of the calculation conditions. Test the form with some conditions in disabled mode.

    You will be able to identify which one is most likely causing the hiccup.


    On the number of Conditions, unless the difference in number of existing conditions on the form is a lot, you may not notice much difference in speed if you will compare a form with a lot of condtions versus a form with fewer conditions.

    Since they are online forms, the speed of the connection/internet is more of the factor for the speed/performance.

    The more difference in performance I can tell is on the method the form is being used.

    An embedded form using its source code hosted on your website will most likely to perform faster compared to the same form hosted online on JotForm server. 

    If using the form's source code, the form's source will be immediately available on your website locally. Thus it will load faster.

    Do you have your own website? If you have, using the form's source code embed on your website is an option I suggest you try.

     Hope this help. Let us know how we can be of further assistance.