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

    Show Total, sub total and tax amount separately in submission emails.

    Asked by profiles2go on July 15, 2014 at 12:18 AM

    Hi,

    Is there a payment suffix in Paypal widget to show "Subtotal"? I want it to include in Notification email, along with the "Total". Also, it would be great to have the same for "sales tax".

    I only found solution for "Total" at this time...

    thank you!

     

    tax solution same email
  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 15, 2014 at 04:15 AM

    Hello profiles2go,

    I am not sure if I have understood your question correctly.

    Do you mean to say that you want to display the Total amount, Sub total amount and the tax amount separately in the submission emails?

    Yes it is possible to achieve your requirement. You need to add the following code in your notification email alert to display the amounts separately:

    {yourProduct:total} - Where "yourProduct" is the tag of your payment field and "total" will display the total amount.

    {yourProduct:subtotal} - Where "yourProduct" is the tag of your payment field and "subtotal" will display the subtotal amount.

    {yourProduct:tax} - Where "yourProduct" is the tag of your payment field and "tax" will display the tax amount.

    Hope this helps.

    Do get back to us if you meant to ask something else.

    Thank you!

  • Profile Image

    Answered by profiles2go on July 15, 2014 at 02:29 PM

    {yourProduct:tax}  and {yourProduct:total} work perfectly, but {yourProduct:subtotal} doesn't work... It still shows 0, instead of actual price $0.10

  • Profile Image
    JotForm Support

    Answered by david on July 15, 2014 at 04:30 PM

    Hi,

    Without knowing which form you are working with I am having a bit of trouble testing.  You may want to try sub-total with a hyphen and see if that works.  If not please let us know which form you are working on and we will be happy to look into this further.

    Thank you for using Jotform!

  • Profile Image

    Answered by profiles2go on July 15, 2014 at 04:44 PM

    sure, here is my test form:

    http://form.jotformpro.com/form/41956727401962

    i also tried "sub-total" - nothing happened. It still shows "0" instead of assigned price $0.02

  • Profile Image
    JotForm Support

    Answered by david on July 15, 2014 at 06:09 PM

    Hi,

    Thank you for providing the link to your form.  That is exactly what I needed.  I did a bit more looking and {yourProduct:subtotal} is the correct usage.  It does seem to pass a rounded or truncated value however:

    I have submitted a bug ticket to see if this is something that can be corrected.  Thank you for your patience.

     

  • Profile Image

    Answered by profiles2go on July 15, 2014 at 06:38 PM

    Understood. Thank you for your help!

  • Profile Image
    JotForm Support

    Answered by NeilVicente on August 08, 2014 at 03:56 PM

    @profiles2go

    We are terribly sorry for the long wait, but I would like to inform you that this bug is now fixed.

    Thank you very much for using JotForm.

    Cheers!