Form Calculation: Automatische Aktualisierung der Gesamtsumme basierend auf Benutzereingaben

  • Profile Image
    Yueni
    Gefragt am 21. Mai 2026 um 13:27

    Hallo Team,

    I’ve been trying to find a solution for the past two days and have tried several approaches without success. Even Podo could not help. I need your help.

    The form below should have the following functions:

    1. When the customer enters their first name, surname, email address and date of birth, the total cost of 30 euros is automatically displayed ("Gesamtsumme".)

    2. If the customer selects the number of additional living persons (+30 euros per person), these are added to the total. If the customer selects the number ‘2’, the total should be 30 euros + (2 x 30 euros) = 90 euros.

    3. If the place of residence is indicated as ‘yes’, 50 euros is added to the total amount = 140 euros.

    4. If the customer selects the ‘Specify workplace’ option, a further 70 euros will be added to the total amount 140+70= 210 Euros

    5. If the customer changes their mind and does not wish to specify their place of work, or no longer wishes to specify their place of residence, or changes the number of additional living persons, the total amount should always be displayed as up to date and also shown correctly on the thank-you page.


    I would be very grateful if you could provide me with specific guidance so that we can successfully implement this in our business.

  • Profile Image
    Podo: Support Specialist
    Geantwortet am 21. Mai 2026 um 13:28

    Hi Yueni,

    Thanks for reaching out to Jotform Support. I'm an AI assistant here to assist you.

    We can set this up with a calculation field so that the total is always updated automatically and can also be shown on the Thank You page.

    Let me walk you through it:

    Phase 1 – Prepare the fields

    1. Add your normal fields for first name, surname, email, and date of birth (these are just regular form fields and do not affect the math directly).
    2. Add a field for the number of additional living persons (for example, a Number field or a Dropdown with numeric values).
    3. Add a field for “Place of residence?” with answers like Yes/No (for example, a Single Choice field).
    4. Add a field for “Specify workplace?” with answers like Yes/No (again, a Single Choice field).

    Phase 2 – Add the Form Calculation widget for the total

    1. Click on Add Element on the left side of the page in Form Builder.
    2. Go to the Widgets tab and add the Form Calculation widget to your form. This will be your Gesamtsumme field.
    3. Click on the widget’s wand icon to open its settings and the formula editor.

    Now set up the formula so it always calculates:

    • Base price: 30
    • Additional persons: number_of_persons × 30
    • Residence yes: +50 only if answer is Yes
    • Workplace yes: +70 only if answer is Yes

    You can do this in two main ways. The most flexible is using conditional logic with the calculation field.

    Option A – Use the Form Calculation widget for the math and Conditions for the Yes/No parts

    1. Open the Form Calculation widget and first build the basic formula:
      30 + (AdditionalPersons × 30)
      Use Add Field to insert your “Additional living persons” field, and the keypad to add 30, +, and ×.
    2. Click on Save in the widget.
    3. Go to Settings at the top, then Conditions, then Update/Calculate Field.
    4. Create a condition like:
      IF Place of residence IS EQUAL TO Yes
      DO Calculate a field’s value
      Set the calculation to: CurrentTotal + 50 and write the result into the same total field (Gesamtsumme).
      Repeat similarly for “Specify workplace” with +70.

    If you prefer, you can also encode the Yes/No answers as numeric values and keep all math inside the Form Calculation widget, but that requires setting calculation values on the choice fields.

    Phase 3 – Show the total on the Thank You page

    1. Go to Settings at the top of Form Builder.
    2. Click on Thank You Page on the left.
    3. Edit the text and insert the total field by using its field tag (for example, click the Form Fields dropdown and choose your total field “Gesamtsumme”). This will insert something like {gesamtsumme} into the Thank You text.

    With this setup, every time the user changes the number of persons, or toggles residence/workplace Yes/No, the calculation field will update automatically, and the same value will appear on the Thank You page.

    If you can share which field types you are currently using (Number, Dropdown, Single Choice, etc.), we can fine‑tune the exact formula or conditions for your specific form.

    Probieren Sie es aus und lassen Sie uns wissen, wie es läuft.

  • Profile Image
    Yueni
    Geantwortet am 21. Mai 2026 um 13:29

    Ich möchte von einem menschlichen Mitarbeiter des Supports eine Antwort bekommen


  • Profile Image
    Podo: Support Specialist
    Geantwortet am 21. Mai 2026 um 13:29

    Hallo Yueni,

    Vielen Dank, dass Sie sich an den Jotform Support gewandt haben. Ich bin ein KI-Assistent und helfe Ihnen gerne weiter.

    Kein Problem, ich verstehe Ihren Wunsch. One of our Support Team members will take it from here to follow up shortly.

    Reach out again if you need any other help.

  • Profile Image
    Shirized Jotform Support
    Geantwortet am 21. Mai 2026 um 15:03

    Hi Yueni,

    To fix this, you can add another Form Calculation widget to calculate the total of Teilnahme Kosten. Once calculated, you can then include this field in the field Gesamtsumme. You can follow the calculation below:

    
Form Calculation: Automatische Aktualisierung der Gesamtsumme basierend auf Benutzereingaben
Image-1

    Next, disable all the calculation conditions involving Gesamtsumme, since we are directly calculating the total in the Form Calculation itself, as it will only cause conflict. Here's how to disable it:

    1. In Form Builder, in the orange navigation bar at the top of the screen, click on Settings.
    2. Click on Conditions on the left side of the screen.
    3. Next, click on the Gear icon, then select Disable

    
Form Calculation: Automatische Aktualisierung der Gesamtsumme basierend auf Benutzereingaben
Image-2

    You also need to disable these conditions below:

    
Form Calculation: Automatische Aktualisierung der Gesamtsumme basierend auf Benutzereingaben
Image-3

    You can also clone my demo form to see how it's done.

    Give it a try and let us know how it goes.

  • Profile Image
    Yueni
    Geantwortet am 22. Mai 2026 um 04:32

    you did a great job! Thank you very much!

  • Profile Image
    Yueni
    Geantwortet am 23. Mai 2026 um 08:55

    One question left.

    https://form.jotform.com/261373176600049

    On the thank-you page, I’d like to display the “Anzahl der lebenden Personen”. This is calculated based on the person signing up (=1) and the “Anzahl weiterer lebender Personen (+30 € pro Person)”. Unfortunately, I can’t get the number to be calculated correctly. Podo was no help; in fact, they once deleted everything I’d set up and couldn’t restore it. Many hours of work were lost. I’m therefore asking for your assistance.


  • Profile Image
    Mary Jotform Support
    Geantwortet am 23. Mai 2026 um 09:00

    Hi Yueni,

    I’ve gone ahead and moved your other question to a separate thread to keep things tidy, and someone from our Support Team will help you out with it here.

    Let us know if you have any other questions.

Your Reply