Support » Plugin: Calculated Fields Form » Form not showing, blank and unresponsive page

  • Resolved Valen Correa


    Hi there,
    The weirdest thing happens.
    I have several calculated fields (no idea if this has any impact).
    the form does not load (not in preview no on the page) and basically cracks the site. The other forms load correctly so I assume it’s an issue of my form. It does not load and then after it I can not do anything with that tab besides closing in. During the preview when I close the pop up I can not click on anything in the dashboard so I have to close the tab and open a new dashboard window again.

    Sorry, I had some ( missing in the formulas, after this it seem to work.

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

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


    Hello @quitoxic

    I’ve visited your web page but the password: calculate is not working.

    However, the behavior you’re describing happens if you’ve generated an infinite loop. First, I ll try to describe how the plugin’s works when the dynamic evaluation of the equations is enabled (it is a checkbox in the “Form Settings” tab)

    Every time the value of a field varies, the plugin check all equations that are affected by this field, and evaluate them. The evaluation of the equation provokes the values of calculated fields vary, and then, the plugin determines those equations affected by these calculated fields, and evaluate them, and the process is repeated again and again until no field varies its value.

    So, if you use the field B in the equation of field A, and the field A in the equation associated to the field B, you have generated an infinite loop. But chain can be longer, for example using the field A in the equation of field B, the field B in the equation of field C, and the field C in the equation of field A closing the loop.

    Something similar would happens with the dependencies, if the field B is dependent on the result of the equation in the field A and the field A uses to the field B in its equation, it creates an infinite loop (the chain can be longer too)

    You should take special care in the way you design the execution flow on your form.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Form not showing, blank and unresponsive page’ is closed to new replies.