, another cool thing from @nghuuphuoc!

hex validator

Validate a hexadecimal number


Improve it on Github


Option HTML attribute Type Description
message data-bv-hex-message String The error message
When setting options via HTML attributes, remember to enable the validator by setting data-bv-hex="true".

Related validators

The following validators might be useful to you: