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

    Writing a conditional formula with greater than and less than

    Asked by Kelly  on March 30, 2014 at 01:02 AM


    I have been looking for an online form to calculate delivery costs on my website but have had no luck finding something suitable.

    Basically this is what I want it to calculate:

    If the cost of the order is less than $375, then the delivery fee is $149.

    If the cost of the order is more than $375, then the delivery fee is 40% of the order cost.


    IF OrderCost<375 THEN Delivery=149 ; IF OrderCost>375 THEN Delivery=(OrderCost*0.4)


    Is this possible in JotForm (using the calculator widget), and if so how do I write it? I am no good at these things!


    Thank you!


  • Profile Image
    JotForm Support

    Answered by EltonCris on March 30, 2014 at 05:55 AM

    Hi Kelly,

    That's possible with the new released conditional logic.

    Here's how:


    Example Form: http://form.jotformpro.com/form/40882479359975?

    Note: Please replace your delivery field with a text box as it would only served as an output field. This might be the only issue on your current setup. Check the demo form.

    Hope this helps. Regards!