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

    (@codepeople)

    Hello @uafinsee

    In old versions of the plugin the equations were factored in the forms builder, and factored versions of the equations stored in the fields settings.

    For example:

    Assuming the equation of the fieldname1 field is: fieldname2+fieldname3 and the fields: fieldname2 and fieldname3 are calculated fields too, whose equations are: fieldname4*fieldname5 and fieldname6/fieldname7 respectively, so the factored equation stored in the fieldname1 field would be:

    fieldname4*fieldname5+fieldname6/fieldname7

    and wouldn’t be needed the intermediary steps to evaluate first the values of fieldname2 and fieldname3

    But as the dependencies between fields were evolved, there is not possible to store the factored equations anymore. For example if any of fields: fieldname2 or fieldname3 are dependent and disabled, as the factored equation does not include references to them, the result won’t be affected when in reality the value of a dependent field is zero when it is disabled.

    Maybe the situation described above does not affect to your form, because you don’t make an intensive use of the dependencies, in whose case you can preserve the outdated version of the plugin.

    Actually, the use of factored equations is needless if the forms are optimized. For example, I’ve checked your form, and it includes 147 calculated fields, and I’m pretty sure this number of equations can be reduced drastically optimizing them.

    I’ll check your form in detail, however, its logic is a little complex.

    Best regards.

    Thread Starter uafinsee

    (@uafinsee)

    Understanding the logic is hard for non Ukrainian speakers.
    We have 18 most popular banks. Each bank has few deposit programs.
    For every combination of amount, term and some other parameters, which a user enters, we show the best deposit program for each of 18 banks. And how much interest he will receive.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Something makes form very slow’ is closed to new replies.