Form is not calculating correctly

  • Profile Image
    Linda
    Asked on September 14, 2022 at 08:01 PM

    I entered 3 (standing for €3) as calculation values.
    But what happens is that 4 (€4) ends up multiplied by 3.
    I have no idea what or where it went wrong.
    I tried 1 but then got 3 as a result.
    I had no issues at all the previous times I used this form.
    Checked a different (older) form where I also inserted calculations and saw no issues there when totalizing.



    This is a re-post of a comment on How to Assign Calculation Value

  • Profile Image
    Sweta
    Answered on September 14, 2022 at 09:39 PM

    Hello Linda,

    Thank you for your feedback. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

  • Profile Image
    Sweta
    Answered on September 14, 2022 at 10:34 PM

    Hello Linda,

    I cloned your form and tested it to see if I could replicate the issue, but everything was working properly. Check out the screencast below to see my results:

    1663208633_63228cb90c874_form.gif

    You have assigned 1 as a value in all the options. For example, if you select three options, it will add up to three. You have a syntax written to multiply the total obtained from events by three so it will give nine as a total.

    Can you please explain the logic you want to write? I believe I have tested out the correct form.

    Let us know if you need any help.




  • Profile Image
    Flandrach
    Answered on September 15, 2022 at 04:05 AM
    Hi,
    Yes, sorry. I finally found what went wrong: I had to change the amount due
    via the Widget Settings (s.th. I overlooked) and so the problem was solved.
    Thank you anyway for helping me!
    ...