How to show/hide fields on the form if another field's value is "less than" or "greater than" a certain value

  • Timothyink
    Asked on September 2, 2017 at 3:52 PM

    I'm trying to hide and show fields but only when a number is in a range.  Say "is less than 24" and "is more than 36."  Is there a way to do that.  Or Show X field when the numbers are in a range between 23 and 37.  I see that I could manually set up a conditional formatting for every number 1-23 and that would eliminate the small numbers for my purpose but it wouldn't solve my problem as elegantly as I would like.

     

    Any thoughts?

     

    Tim

  • Mike_G JotForm Support
    Replied on September 2, 2017 at 4:17 PM

    Yes, that would be possible if the field being checked is a Number field or a Form Calculation widget.

    How to show/hide fields on the form if another fields value is less than or greater than a certain value Image 1 Screenshot 60

    How to show/hide fields on the form if another fields value is less than or greater than a certain value Image 2 Screenshot 71

    The "less than" and "greater than" state in Conditions only appear for those two fields.

    How to show/hide fields on the form if another fields value is less than or greater than a certain value Image 3 Screenshot 82

    How to show/hide fields on the form if another fields value is less than or greater than a certain value Image 4 Screenshot 93

    Just a suggestion, you can set a 'less than" and a "greater than" state within the same condition.

    How to show/hide fields on the form if another fields value is less than or greater than a certain value Image 5 Screenshot 104

    I hope this helps. If you have other questions or concerns, please feel free to contact us again anytime.