Form is taking a long time to load.

  • Profile Image
    snaplash
    Asked on February 28, 2016 at 11:27 AM

    Hi Jotform!

     

    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.

    https://form.jotform.com/60577695274974

    I uploaded the source code to my server and the same is happening.

    http://www.snaplash.com/JoftformAssets/dupe_UPTODATE.html

    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!

     

     

  • Profile Image
    snaplash
    Answered on February 28, 2016 at 11:42 AM

    UPDATE:

    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.

    https://www.jotform.com/?formID=60584917450965

     

    Would this suggest that the doubling of conditions on the same fields slowed the load time down?

  • Profile Image
    Mike_G
    Answered 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".

    Second condition

    "If Test Field 1 is filled, pass the value of Test Field 1 to Test Field 2(duplicate)".

    Third condition

    "If Test Field 1(duplicate) is filled, pass the value of Test Field 1(duplicate) to Test Field 2".

    Fourth Condition

    "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?