Add values of input fields in fillable form

I am creating a fillable PDF form with writer and I want to be have a “total” row that takes the input values from the fillable form and add them together and have the result display on the PDF. Is there an easy way to do this?

I am brand new at libreoffice, so a straightforward answer would be greatly appreciated.