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 do we post payment totals and discounts out to other pages

    Asked by TeamLocal on February 19, 2014 at 05:40 PM


    We have a form with products and coupons on it.  When we post the data out, it doesn't include the total or the coupon amount.  How do we get that data to post as well?  I'm attaching a screenshot of the data that is posted.

    Another question - is there a way to perform calcuations on a form like this to incorporate an option like we are, which is buy 5 get 1 free, prior to submitting? 

    Thanks in advance,

    Renee Borson

    Page URL:

  • Profile Image
    JotForm Support

    Answered by BDAVID on February 19, 2014 at 06:58 PM

    Could you please share with us you php script you use? In order to make caculations on your form, please take a  look a this guide.

  • Profile Image

    Answered by TeamLocal on February 19, 2014 at 09:05 PM

    I can, but the issue with calculation seems more to be that the fields that hold the products and the total and coupon amounts are not accessible.  If I use the calculation wizard, all of the fields I'd need in order to calcuate discounts are not displayed.   

    We can leave the calculation question out of it for now - sorry I should probably have posted that separately.  The bigger question is why the total and coupon (disount) fields are not showing up in the data that is sent across when we enable the "Send Post Data" option in advanced settings.  The screenshot I included originally is just a page that is displaying what is getting posted out.  We used the payment tools integration method to get the fields on the form.

  • Profile Image

    Answered by Cesar on February 19, 2014 at 09:55 PM

    I do believe this is due to the type of fields the total and the coupon are a part of. The provide functionality to the form's Payment Tool, but they are not a direct field that is saved on submissions. The Total may appear on submissions but it does not have its own independent field. In any case, I will raise your concern to the development team so that they may shed light to this matter. Once we have an update from them, they will let us know through this page. Thank you.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on March 10, 2014 at 02:14 AM


    I'd like to inform you that this problem has been fixed. Selected products, total, and coupon used are now sent properly as post data to your URL of choice.

    Please try it then let us know if you encounter any problems with it. Your feedback is much appreciated.