-
YueniHallo 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 Euros5. 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.
Page URL: https://form.jotform.com/261373176600049 -
Podo: Support SpecialistHi 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
- 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).
- Add a field for the number of additional living persons (for example, a Number field or a Dropdown with numeric values).
- Add a field for “Place of residence?” with answers like Yes/No (for example, a Single Choice field).
- 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
- Click on Add Element on the left side of the page in Form Builder.
- Go to the Widgets tab and add the Form Calculation widget to your form. This will be your Gesamtsumme field.
- 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
- 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 ×. - Click on Save in the widget.
- Go to Settings at the top, then Conditions, then Update/Calculate Field.
- 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
- Go to Settings at the top of Form Builder.
- Click on Thank You Page on the left.
- 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.
-
YueniIch möchte von einem menschlichen Mitarbeiter des Supports eine Antwort bekommen
-
Podo: Support SpecialistHallo 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.
-
Shirized Jotform SupportHi 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:
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:
- In Form Builder, in the orange navigation bar at the top of the screen, click on Settings.
- Click on Conditions on the left side of the screen.
- Next, click on the Gear icon, then select Disable.
You also need to disable these conditions below:
You can also clone my demo form to see how it's done.
Give it a try and let us know how it goes.
-
Yueniyou did a great job! Thank you very much!
-
YueniOne 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. -
Mary Jotform SupportHi 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
Something Went Wrong
An error occurred while generating the AI response. Please try again!