Adding values of form fields in Writer

I am creating a fillable PDF form with libreoffice. I want to be able to take three of my input fields and have them sum together, with the result displaying automatically.

Right now I am using the basic “text box” for my input fields. I do not know much about libreoffice, so please explain how to add input fields together like I’m five.