• Resolved Jean Claude

    (@darkhost)


    Greetings!

    After I worked on a complex form, the form on the frontend is loading very slowly.

    I guess that I’ve added a lot of “Visibility” rules and calculations because on the initial steps of the form, the form loaded perfectly.

    I also tried on settings all kind of combinations of the loading behaviours, with no luck.

    Can anyone help me with this please? Any tips?

    I have added the export of the form at: https://pastebin.com/e3LeTm9V
    Password: x99RRkrMhF

    Basically, after you check “Da” on the form, it takes a lot of time to loads, also the next steps when you select anything on the dropdown, it loads very slowly and no user will use the form because of this.

    Thank you very much!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @darkhost

    I hope you’re well today!

    Thank you for your question and for sharing the form.

    I’ve imported it to my test site and checked and it seems that there’s a lot of “nested conditions”. By this, I mean that there’s a lot of visibility rules in general and also some of them a based on fields that are also conditionally visible.

    The form is really complex and such rules may in some cases cause some slow-downs, I’m afraid.

    We are constantly working on improving that to avoid such situations and I believe upcoming updates should make it better but for now, I’d suggest slightly changing the form:

    1. make sure that form’s “Rendering” option (in “Behaviour” section) is set to “load form using Ajax – just like it is now
    2. and try “splitting” the form into multiple pages, using “page break” element

    It seems to be helping when I’m testing on my end but let’s see if it helps enough on your site – let us know once you test it, please.

    Kind regards,
    Adam

    Thread Starter Jean Claude

    (@darkhost)

    Greetings!

    Thank you for your response and for the tips.

    I’ve tried your suggestions but unfortunately does not speed up the process. It still stay around 20-30 seconds to appear something after I select an option, even I split up with page breaks. I’ve added around 10 page breaks within a test form and it behaves the same.

    Where do you inserted the page breaks in your form? And how much page breaks you inserted?

    Thank you once again!

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @darkhost,

    Unfortunately adding page breaks won’t bring significant improvement in terms of how long it takes when selecting “Da” or “Nu” options. It’s more of a suggestion to see whether it makes any difference with the initial delay noticed when loading the form.

    There isn’t any specific requirement on the number of page breaks that need to be used etc

    I’m afraid the issue primarily noticed is due to the high number of fields and nested conditions. I’m afraid there isn’t much that could be done to significantly improve the load other than checking whether fields could be reduced.

    Since keeping the “Load form using AJAX” enabled doesn’t help much, could you also check how the page behaves if you disable it? So that form tries to load in one load.

    You could also check whether there is an improvement in how the form is loaded if you try enabling “Page Reload” under Behaviour tab > Submission Behaviour > Method too. You can revert back if the above doesn’t bring much difference.

    You could try increasing the server resources and see whether that makes any further improvements too.

    Please check tho following for more info:
    https://wpmudev.com/blog/increase-memory-limit/

    Please do let us know how that goes.

    Kind Regards,
    Nithin

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @darkhost ,

    We haven’t heard from you for some time now, so it looks like you don’t have any more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Entire form is loading slowly’ is closed to new replies.