What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Updating Braintree widget with form calculation

    Asked by 2016peo on February 14, 2016 at 02:31 PM

    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?

  • Profile Image
    JotForm Support

    Answered by Chriistian on February 14, 2016 at 08:53 PM

    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.