victorjonsson / jQuery-Form-Validator

[DISCONTINUED] jQuery plugin that makes it easy to validate user input while keeping your HTML markup clean from javascript code.
973 stars 477 forks source link

How to validate a number range which does not include the limit that mentioned. #752

Open navyamereddy91 opened 3 years ago

navyamereddy91 commented 3 years ago

I was using a jQuery form validator with the validation against a number and the range is something like this [1, 1000]. But now my company wants to change it to a decimal and also wants to allow the numbers greater than 0. something like x>0.5 and x<1.5. I mean the range should be greater than zero. How to achieve this using the jQuery form Validator? Basically we do not want to set the lower limit. It can be anything greater than zero.