• Resolved aymericfb

    (@aymericfb)


    Hello, I allow myself to post this subject because I use the free version of the extension which is really good but I have a problem … My form is finished but when I test it and I enter a number in the first field, the page starts to crash, could you help me?
    Sorry for the translation, I use Google Translation: D.

    Regards.

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

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

    (@codepeople)

    Hello @aymericfb

    Your website responds with a “Coming Soon” page. However, the information you describe is usually related with an endless loop.

    First, I’ll try to describe how the plugin works. If you vary a field’s value, the plugin checks all the equations affected by this field and evaluates them. The evaluation of the equations provokes a change in the values of the calculated field too. So, the process is repeated multiple times until no field varies its value.

    Once described how the plugin works, I’ll try to indicate the possible causes for the endless loops.

    * If you use a field in its own equation, this generates an endless loop.

    * If you use field A in the equation of field B and field B in the equation of field A, you are generating an endless loop. The chain of fields could be longer, field A in the equation of field B, field B in the equation of field C, field C in the equation of field A, closing the circle.

    * Something similar can happens with the dependencies.

    In short, if your form is freezing, please, check the possible endless loops between the equations entered in the calculated fields.

    Best regards.

    Thread Starter aymericfb

    (@aymericfb)

    Hello again, thank you for your very quick and clear response. I removed the maintenance from the page in question;). In my calculation there is indeed an endless loop, but how to fix it because I need all the calculations present for the calculation formula to give me the results ask: s

    Plugin Author codepeople

    (@codepeople)

    Hello @aymericfb

    You have generated an endless loop in the fieldname6 field, whose equation uses the same field: fieldname9-fieldname6-fieldname7

    What is the logic behind this equation?

    Best regards.

    Thread Starter aymericfb

    (@aymericfb)

    Re, in fact I want to create a dosage calculator for e-cigarettes like this one for example: https://www.e-liquide-fr.com/calculateur-diy .

    Here is the diagram of my formulas:

    Result 1: fieldname9-fieldname6-fieldname7
    Result 2: fieldname10*fieldname9
    Result 3: (fieldname11*fieldname9)/20

    This is the only formula I know of for the dosage: s

    Plugin Author codepeople

    (@codepeople)

    Hello @aymericfb

    In this case, the equation fieldname9-fieldname6-fieldname7 must be entered into a new field for result 1, and not the same fieldname6 that captures the values entered by the user.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘My form is crashing’ is closed to new replies.