My Form Takes a Long Time To Load

  • Profile Image
    Gordon_Will
    Asked on December 02, 2019 at 04: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

    1575324670image.png

  • Profile Image
    Gordon_Will
    Answered on December 02, 2019 at 05: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.

  • Profile Image
    Gordon_Will
    Answered on December 02, 2019 at 05:54 PM

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

  • Profile Image
    jherwin
    Answered on December 02, 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.gif
    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.

  • Profile Image
    Gordon_Will
    Answered on December 03, 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.

  • Profile Image
    BDAVID
    Answered on December 03, 2019 at 04: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