My Form Takes a Long Time To Load

  • Gordon_Will
    Asked on December 2, 2019 at 4:42 PM

    My form takes a very long time to load and it sometimes even makes the webpage unresponsive. This is fairly alarming as I could not send this to potential customers to use. It also becomes unresponsive during the survey?

    Any reason for this? Is it because of too many conditional logic statements on my survey? Is there any way for me to embed that logic into the pdf creator instead?

     

    Image of loading time: ~20s to load the form

    answers Screenshot 10

    Jotform Thread 2063458 Screenshot
  • Gordon_Will
    Replied on December 2, 2019 at 5:49 PM

    This is due to having too much conditional logic. JotForm--it seems you are running through the conditional logic through every opportunity possible. This bogs down the browser quite a bit. I will instead try to use the Form Calculator Widget as much as possible so I am only doing the calculation on the page.

    Would it be possible to isolate conditional logic to a single page in the form? Can I make that a feature request? It would make your conditional logic incredibly more powerful if I could actually use it for complex logic.

  • Gordon_Will
    Replied on December 2, 2019 at 5:54 PM

    Alternatively, adding IF THEN conditions into the Form Calculator would do the trick

  • jherwin
    Replied on December 2, 2019 at 11:50 PM

    I tested your form (93246047959166) and it's working as expected on my end. It loads fast as well, please see my screencast below:
    1575348591loads Screenshot 10
    Please try with another browser as well. That may work. Or, try clearing your browser cache and cookies for Jotform first before testing the form.

  • Gordon_Will
    Replied on December 3, 2019 at 12:23 PM

    Removing/disabling the conditions solved the problem. To achieve what I want with the conditions I will need to rely on custom javascript because this number of conditions makes the form unusable.

  • David JotForm Support Manager
    Replied on December 3, 2019 at 4:21 PM

    Unfortunately, script code cannot be inserted in the form. You will need to download your form's full source code, where you can add your own custom code: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form