**2016peo**In order to make our convention registration form easy for both sides (people registering and the people responsible for putting the event together), I'd like to have people make their choices in JotForm fields, then calculate their total and have that total automatically included in the Braintree widget.

Is there a way to do that?

- JotForm Support
**Chriistian**Yes, it is possible to get the value from a form calculation to the Braintree payment field. Simply follow the steps below.

1. Create the form calculation. You can use the Form Calculation widget to perform the calculations. Here's a guide that can help: How to perform calculation in the form?

2. Then once your calculation is set, simply follow this guide to pass the value from the form calculation widget to the payment field: How to pass a calculation to a payment field

Here's a sample form where the calculation value is passed to braintree: https://form.jotform.com/60448249385969

If you want, you can clone the sample form by following this guide: How to Clone an Existing Form from a URL

Do let us know if you need further assistance.