Is there a way to replace a field being used by conditional logic with another field?

  • Stephen Kidwell
    Asked on March 1, 2017 at 8:10 PM

    i created a catering quote form and on the first page had a number of guests field. After I got done building the conditional logic the form was extremely slow, I'm assuming from this field being used so much. So what I think I need to do is take the field of the front page and have one field per page. So what I want to do is replace the original "number of guests" was used with the page specific versions. Is there a way to do this en masse? Or do I have to go condition by condition. Because I have over 300 conditions and that original field is refenced multiple times in almost every condition. Any help you can give in this matter will be greatly appreciated. 

  • Ian
    Replied on March 2, 2017 at 12:24 AM

    So what I want to do is replace the original "number of guests" was used with the page specific versions.

    >> I am not sure what that means.

    But I would like to mention that the reference to field may not affect the speed but the number of conditions and length of the form may have  impact on load speed, but that too in nano seconds.

    Let me know if that helps.

  • Stephen Kidwell
    Replied on March 2, 2017 at 10:32 AM

    Well would you know why my form is so slow to load? Every time I put a number in the "number of guests" field the form will freeze. 

  • Kiran Support Team Lead
    Replied on March 2, 2017 at 1:36 PM

    I have checked your JotForm and see that there are about 900 fields and 339 conditions set on it. Please be noted that more number of fields on the form would take time to load on the browser. If the browser storage is full or not sufficient, the form or any web page would freeze. When we have more conditions on the form and when the form is loaded, the conditions will be checked. And if any field is changed on the form, all the related conditions will be checked again which could be causing the issue. If you have enabled the auto-fill feature on the form, you may try disabling it to see if that helps.

    Let us know if you need any further assistance. We will be happy to assist. 

  • Stephen Kidwell
    Replied on March 2, 2017 at 2:20 PM

    I have disabled the auto fill function, but that does not really help. I am aware that the form has a lot of fields and conditions, but that is what was required to cover all the options. Is there another way to speed up the form or is there no option?

  • Kiran Support Team Lead
    Replied on March 2, 2017 at 3:44 PM

    Though JotForm supports to have unlimited fields on the form, the browser can render the form after processing the scripts on the form. I am not sure if it helps, but you may give a try embedding the form on a web page by using the full source code of the form.

    You may also consider breaking the form to two or more forms so that you may redirect to the next form by redirecting from the Custom Thank you page URL.

    https://www.jotform.com/help/211-Setting-Up-the-Thank-You-Page

    Hope this information helps!