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

    My coupon is not working

    Asked by justenjoy on February 10, 2015 at 09:45 AM

    I've been working on trying to get it so I can have a valentines coupon code that will basically do buy one get one half off. I've got some other complicated calculations on my form for shipping cost and what not. Can someone assist?

     

    I've created my condition that I thought would work, but I've disabled it for now, as it's causing my "total due" field to not populate at all

    Page URL:
    http://www.justenjoybakery.com/order.html

    calculations and
  • Profile Image

    Answered by Carina on February 10, 2015 at 11:12 AM

    I inspected the form and the calculation formula had some errors. It is 0.75 instead of 7.5, and it was missing a calculation sign between the 7.5 and the other elements:

    I created a clone and added another total field so that calculation might be simpler. The first total field (which has the sum of all the cookies might be hidden) will be very useful to create a very simple formula - 0.75*total:

    You can test and clone  the demo form: 

    http://form.jotformpro.com/form/50404338038954? 

    Let us know if we can assist you further.   

  • Profile Image

    Answered by justenjoy on February 10, 2015 at 11:22 AM

    It actually needs to be 7.5 because it's the number of dollars. They put in the number of dozens they want and the dozens are 10 dollars each. Also I need to output it to the regular total due field. Not a new discount field. It needs to pass that for Paypal calculation. 

  • Profile Image

    Answered by justenjoy on February 10, 2015 at 11:27 AM

    I got it figured out based on your reply. I just needed to add the * between the 7.5 and the rest. Thanks!

  • Profile Image

    Answered by Carina on February 10, 2015 at 11:53 AM

    But still I believe that if you want 50% discount on the second you will need to use 0.75 (it's the same as 75%). if you use the 7.5 you'll get different results like 7.5*80=600; 0.75*80=60.

    You can have both total fields, one hidden if you prefer, and you can just update the Paypal "get amount from" field in order to be the new total field with discount.
    This is a suggestion in order to make the calculation simpler.

    Let us know if we can assist you further.   

  • Profile Image

    Answered by justenjoy on February 10, 2015 at 11:55 AM

    Yeah but it's number of dollars, which is TEN times the number that we're calculating on. So that's why. Like I said, I got it working by adding a single asterisk. Thanks!

  • Profile Image

    Answered by Carina on February 10, 2015 at 11:58 AM

    Thanks for updating us. If you need further assistance please let us know, as we're here to help.