Can I have a numerical formula define a minimum or maixmum value for a numerical input field?

  • dsiden
    Asked on April 22, 2015 at 6:40 AM

    Hello.
    We need to 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

  • Carina
    Replied 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:

    Can I have a numerical formula define a minimum or maixmum value for a numerical input field? Image 1 Screenshot 30

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

    Can I have a numerical formula define a minimum or maixmum value for a numerical input field? Image 2 Screenshot 41

    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.