- snaplashAsked on February 28, 2016 at 11:27 AM
I am on the finishing stretch of my form so firstly thankyou! but in testing I discovered that it is taking a very long time to load.
I uploaded the source code to my server and the same is happening.
I stripped the CSS out and still it takes a while.
Are there any CDN issues? and if not what could be the cause?
There are very few fields compared to what I want to achieve on this form
Thank you for your help!
- snaplashAnswered on February 28, 2016 at 11:42 AM
So when I duplicated the fields with the conditions originally, the Conditions were doubled. IE each original field had 2 conditions that were exactly the same whereas the fields that I duplicated had none.
I re duplicated the fields without the conditions and it is very fast to load.
Would this suggest that the doubling of conditions on the same fields slowed the load time down?
- JotForm SupportMike_GAnswered on February 28, 2016 at 02:28 PM
Thank you for the update. I have tried to reproduce the issue with duplicate fields and I believe there was a confusion after making some test.
Say you have a form with two fields, Test Field 1 and Test Field 2. You have made a condition that states, "If Test Field 1 is filled, pass the value of Test Field 1 to Test Field 2". Then, when you duplicate both fields including their conditions, your form will have a total of 4 conditions and not 2. Here's the reason behind that.
First condition - the original condition:
"If Test Field 1 is filled, pass the value of Test Field 1 to Test Field 2".
"If Test Field 1 is filled, pass the value of Test Field 1 to Test Field 2(duplicate)".
"If Test Field 1(duplicate) is filled, pass the value of Test Field 1(duplicate) to Test Field 2".
"If Test Field 1(duplicate) is filled, pass the value of Test Field 1(duplicate) to Test Field 2(duplicate)".
Solution: change the field label of the duplicated fields to easily identify conditions that you only need in your form.
Setting a lot of conditions, might cause slowness but it shouldn't be that noticeable. One of the things that make a form load slow is a large number of fields.
There are no reports regarding any CDN issues as of this moment. Are you still experiencing longer load time when viewing/loading your form?