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 have a numerical formula define a minimum or maixmum value for a numerical input field?

    Asked by dsiden on April 22, 2015 at 06:40 AM

    Hello.
    We need to create a sales order form.

    This form needs to take in numerical dimensions for the product.

    Some of the dimensions are dependent upon other dimensions.  All the dimensions have minimums and maxium values.  Can I use a formula to define a minimum or maximum value where this formula is dependent upon an input in another numerical field?

     

    i.e.  

     

    Dimension 1 = 1000 (min = 500, Max = 1440)

    Dimension 2 = 500 (min = 500, Max = Dimension 1 / 2)

     

    Thanks

    input field OR order form maximum product create
  • Profile Image

    Answered by Carina on April 22, 2015 at 11:00 AM

    I created a test form, where I added numeric fields, under Quick Tools menu, and then added Text field messages warning that the values must be lower than or higher than:

    I then created conditions that if dimension1 value is higher/lower than max/min to show the correspondent error message:

    On the condition I added the min and max fields name. You can see here how to find a field's name:

    http://www.jotform.com/help/146-How-to-find-Field-IDs-Names 

    You can test and clone the demo form: 

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

    Let us know if we can assist you further.