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

    Can I use if, then formulas in the logical statement sections?

    Asked by marsha  on February 12, 2016 at 08:10 PM

    I am trying to give a pricing discount for local pickups because shipping is included in the product price but there are a few different products all with different prices so I am trying to figure out how to automate the discounts for the different prices. I don't know how to do it other than using if, then formulas or coupons which I would prefer not to use for that. Any help would be appreciated.

    Thank you, Marsha

    Love the site


    I am still on the Jotform site

  • Profile Image

    Answered by Ben on February 13, 2016 at 11:58 AM

    Yes, you can Marsha.

    We call logic "conditions", but it is the same thing.

    You can show/hide fields, disable/enable, require/unrequire, or update their values.

    For what you are looking for, it seems to me that updating the values and doing math through conditions is what you are after.

    As such I would like to give you the links to few useful guides for you to check:

    How to Assign Calculation Value

    How to perform calculation in the form?

    How to Insert Text or Mathematical Calculation into a field using a Condition

    How to pass a calculation to a payment field

    These will show you a lot of details on setting up your form and sending the total to a payment processing tool.

    Of course, if you have any questions - let us know and we can assist you with any issues that you might have.