What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Dependency of form loading speed on the choice of conditionAsked by pkhan 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
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 https://www.jotform.com/61150751534449 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.
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.