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

    How can I pass the total from a PayPal payment widget to another field?

    Asked by mdavid on February 27, 2017 at 03:56 PM

    I have a form where the user can use a coupon to discount the total paid in the PayPal widget and I would like to pass the discounted total to another field where I can use it in a calculation.

    Page URL:
    https://www.jotform.com/build/70364616756260

  • Profile Image
    JotForm Support

    Answered by BDAVID on February 27, 2017 at 06:11 PM

    This is possible, please check the following guide: https://www.jotform.com/help/270-How-to-Pass-a-Form-s-Calculated-Value-to-another-Form-s-Payment-Total-Field 

    Let us know if you need more help.

     

  • Profile Image

    Answered by mdavid on February 28, 2017 at 07:01 AM

    This doesn't actually answer my question though.  I need to pass the discounted amount from the PayPal module to another field on my form.  I don't have a total field in the PayPal module as there is only one item (please take a look at the form that I attached to the support ticket).

  • Profile Image
    JotForm Support

    Answered by Kiran on February 28, 2017 at 09:44 AM

    You may enable the option Shot Total price on the form so that the final price is displayed on the form and this value can be passed to another field.

    Now, add a new calculation widget to the form and add the PayPal field to the calculation field so that the value of the PayPal field is displayed.

    This is how it displays on the form.

    Hope this information helps!