Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @malpica,

    I’ve tested your form in Firefox and Internet Explorer and has not being extremely slow as you describe, at least not in my computer. However, is true that the structure of your form can be improved.

    Your form includes 22 calculated fields, some of them are implementing auxiliary operations, or operations that may be joined in only one equation, please, take in consideration that if the option to evaluate the equations dynamically is enabled, each time a field change their value, the plugin determines all calculated fields whose equations are affected by this field, and evaluate them, and then, after evaluate the equations, the plugin determines the equations that are affected by the freshly calculated fields and repeat the process again and again. Something similar occur with the dependencies, so, if you reduce the number of calculated fields and dependencies the form will run faster.

    Furthermore, you have implemented your own functions:

    my_function(); my_function1(); my_function2(); my_function3(); my_function4(); my_function5();

    and I’m not sure what they do.

    An alternative would be deactivate the dynamic evaluation of the equations: untick the “Eval dynamically the equations associated to the calculated fields” checkbox in the “Form Settings” tab, but now, would be required to insert a button in the form with the “Calculate” option selected for the button’s type attribute (you can use your current button for that).

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘slowly’ is closed to new replies.