My form keeps on freezing

  • Profile Image
    DRIIIVE
    Asked on December 22, 2020 at 11:52 AM

    Hi,

    I have a lot of conditions set up on my form.

    https://eu.jotform.com/form/203505265414347

    It starts to freeze from time to time dependent on what options I select. Is there a way to resolve the freezing?

    Thank you.

  • Profile Image
    Patrick_R
    Answered on December 22, 2020 at 12:19 PM

    Hi! Thank you for contacting us. Personally, on my computer, I didn't encounter any speed issues with your form; I am not sure whether or not I triggered the correct conditions.

    But in general, Card Forms require some extra resources than a standard form. I also checked your form conditions; there are 205 calculation conditions on your form; these too will take up more resources compared to a normal form.

    Speed can be improved if you could reduce the number of form conditions.

    If you have an idea of which particular condition slows down the form, let us know; we'll take a second look.

    Thank you!

  • Profile Image
    DRIIIVE
    Answered on December 23, 2020 at 07:46 AM

    Hi Patrick,

    Thank you for your reply.

    So the freezing on my side seems to come in to play during the weekday fields, Monday, Tuesday, Wednesday etc...

    When I select the 'Vehicle Type' dropdown filed, then click on an option, the cursor highlights the select option changing this blue, but the drop down field remains open and the form freezes. The only way to unfreeze this is to refresh the webpage and start again.

    I hope this added information helps to resolve my issue.

    Thank you.

  • Profile Image
    Alexander_G
    Answered on December 23, 2020 at 08:39 AM

    Hi there,

    I have cloned and tested your form. So I am able to replicate your issue.

    1608730020_5fe345a432571_

    Please, note that you have 2 contitions with errors (201 and 202)


    Screenshot:

    1608730146_5fe3462294c78_Error.png

    The freeze caused by Uncaught RangeError: Maximum call stack size exceeded

    Based on the errors, it seems that there have been too many calls made to the server by your form and it has been overloaded. It is possible that the number of conditions you have on the form may be overloading the server calls.

    I made a clone of this form for testing purposes and I am able to replicate the same issue on my cloned form. I tried removing errored conditions to see if that would make a difference, unfortunately, the error messages continue to appear and it freezes.

    Allow me to escalate this issue to our backend team for further review. They will take a closer look at your form and locate where this bug is freezing from. Once we have more information, we will contact you immediately in this thread below.

    My suggestion - it is better to think how to optimise this amount of conditions to make it more quick and responsive.


    Best regards,

    Alex

  • Profile Image
    DRIIIVE
    Answered on December 23, 2020 at 09:46 AM

    Great, thank you for looking into this for me.

    I'll await further assistance from the backend team.