Forums

Show sum of different fields in another field

sbischoff 07 Mar, 2020
Hi Community,

I would like to write the SUM of some fields into another field. Please see attached Screenshot to get a better understanding of what I would like to achieve.
Background: With my form, it's possible to register for events. There you can write how many people you want to register for the event. I use different fields because you can enter different groups of people (regarding there age). In the field "vegetarian" I would like to show the sum of all people to register.

Is that possible anyhow?
Thanks in advance.

Best regards,
Steffen
healyhatman 07 Mar, 2020
Set the on change event of each of those fields to "add to", with the name of 2 as the target.
sbischoff 08 Mar, 2020
Hi @healyhatman,

thank you very much. That's really easy.

Best regards,
Steffen
This topic is locked and no more replies can be posted.