How to calculate a total price in my form?