Fork me on GitHub

Validators / lessThan

Return true if the value is less than or equals to given number.

Option Equivalent HTML attribute Type Description
message data-bv-lessthan-message String The error message
value (*) data-bv-lessthan-value Float The number to make a comparison to
inclusive data-bv-lessthan-inclusive Boolean Can be true or false.
If true, the input value must be less than the comparison one.
If false, the input value must be less than or equal to the comparison one
Improve this page