• Resolved Bakhshi

    (@bakhshi)


    Hello
    my fields have been loading slowly for 6 months, and checked it on gtmetrix.com.

    there are some warning about plugin fields: link

    it is about this page: link

    how can fix it?
    thanks in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @bakhshi,

    I’ll try to describe first how the plugin works.

    Every time a field varies its value, the plugin identifies all the equations that are affected by this field, and evaluate them. As the equations are associated with the calculated fields, the values of these calculated fields vary as a result of the equations. Then, the plugin must identify those equations affected by these calculated fields, and evaluate them. This process is repeated again and again until no field varies its value.

    You have created a form with 248 fields, 93 of them are calculated fields. I recommend you to optimize the form to reduce the number of calculated fields.

    Best regards.

    Hello, I am having a similar problem. My form loads really slowly and is very slow when you input any figures. How can I optimize the form to have less calculations and less fields in it?

    The form is on this page:Link

    Please help, I am really stuck.

    Plugin Author codepeople

    (@codepeople)

    Hello @tax50,

    Please, try configuring the form to evaluate the equations only in the onchange events. Furthermore, equations are using inexistent fields (probably because you have deleted them). Finally, you’ve equations in different fields that are very similar, and probably you should merge.

    Best regards.

    Hello and thank you for your reply. Forgive me but I am going to ask more questions to understand how to do it.

    1). try configuring the form to evaluate the equations only in the onchange events.

    How do I do this? It already has the circle filled that says “Eval the equations in the onchange events” It also has the box ticked for “Eval dynamically the equations associated to the calculated fields” so do I untick those?

    2). How do I find the fields that are being used but no longer exist? do I need to go through them all individually and figure it out? or is there a tool I can use to help me with that?

    3). would merging the different fields change the end result of the equations? and do you mean like physically merge (as in join two fields together)? is there an option for that? or do you mean I should retype the equations in to just one field?

    Forgive my ignorance I am genuinely trying my best to understand the form and how to make it function in the best possible way. Your input and advice is genuinely appreciated.

    Plugin Author codepeople

    (@codepeople)

    Hello @tax50

    Q: How do I find the fields that are being used but no longer exist? do I need to go through them all individually and figure it out? or is there a tool I can use to help me with that?

    A: In the “developers” console of your browser, the plugin shows the equations with parser errors.

    Q: would merging the different fields change the end result of the equations? and do you mean like physically merge (as in join two fields together)? is there an option for that? or do you mean I should retype the equations in to just one field?

    A: If you have two fields with the equation: fieldname1+fieldname2+fieldname3+fieldname4 the fields: fieldname8 and fieldname9, you can modify the equation of the fieldname8 as simply fieldname8.

    Best regards.

    Thank you for your reply.

    1). I am a complete novice at this and I am not a developer. I have tried to google what you said and check on YouTube but cant seem to find how you can see fields in the form. How do I get to what you could see? then I could go through the parser errors.

    I will try and go through each calculated field with duplicate calculations and remove them thank you I understand.

    I still haven’t figured out how to make the form evaluate the equations only when something changes on the form (I think that’s what the “onchange events” means) please give me some more guidance with this.

    Thank you so much for all this.

    Plugin Author codepeople

    (@codepeople)

    Hello @tax50

    Please, look at the screenshot below:

    Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘fields are loading slowly’ is closed to new replies.