Bootstrap Validator validate number range
How to set validation for the range for two numbers. I want to set max value of the first number to value of second number and min value of the second number to value of first numb. Here is my js code: min_num : { validators : { integer : { message : 'Please enter the valid number ', min : 1, max : 'max_num' }, notEmpty : { message : 'Please enter the number' } } }, max_num : { validators : { integer : { message : 'Please enter the valid number ', min : 'min_num', max : 10000 }, notEmpty : { message : 'Please enter the number' } } } And HTML: <div class="form-group"> <label class="col-md-2 con
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.