How to add field and calculate

Hi (again),

I am now a few steps further in creating my website. Only now I get stuck with two things.

1, How can I add a row of input fields by means of a button (“+”)?

2, How can I sum data from a dataset? The sum is the member’s orders.
I also want to make a sum of all payments made by the member. And lastly, I want the sum of the orders - the member’s payments.

I hope someone can / will help me with this.
I enjoy building websites, but I still lack some knowledge. Would like to learn;)

You will need to use a Repeater, where each line of input fields is a Repeater item.

See the following examples which show a number of techniques to achieve what you want:

Hi Yisrael,

I am a beginner writing web codes. I think I’ll get out of this over time.

What I’m still looking for is how I can find a price based on an entry. And then I want to display a sum of this price per person in a field.

Finally, I would like two added fields from two different datasets to display a new sum result in a new field.

I really enjoy using web codes and understanding more and more of them.

I hope you will help me

Erwin