• Resolved dispintora

    (@dispintora)


    Hi guys,

    I am trying to create a service calculator. I tried it on my localhost and it worked. Then I received login details to WP page (pintora.cz) and tried to create almost the same over there but not even simple function like “field1 * 100” does not work.

    Can you just guide me where to look? It seems that JS is somehow blocked or something.

    I try to publish it on some demo page. Give me some time.

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

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

    (@codepeople)

    Hello @dispintora

    Thank you very much for using our plugin.

    The field names have the structure fieldname#. For example, if you have the field fieldname1 and want to calculate its value multiplied by 100.

    Insert a calculated field in the form, and enter the following piece of code through the “Set equation” attribute in its settings:

    fieldname1*100

    Best regards.

    Thread Starter dispintora

    (@dispintora)

    Of course I used proper fieldname.

    The page is live here: Test Kalkulace | pintora.cz

    Thanks a lot for every hint.

    Plugin Author codepeople

    (@codepeople)

    Hello @dispintora

    You unticked the “Dynamically evaluate the equations associated with the calculated fields” checkbox in the “Form Settings” tab. If you disable the dynamic evaluation of the equations, you must insert a button in the form to evaluate them manually by pressing the button.

    So, you have two alternatives:

    You can tick the checkbox to evaluate the equations dynamically.

    Or you can insert a button in the form and select the “Calculate” option as its type.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Calculation does not work’ is closed to new replies.