This site contains the document for old version. Please upgrade to the latest version v1.0.0

hex validator

Validate a hexadecimal number

Validators

Options

Option HTML attribute Type Description
message data-fv-hex-message String The error message
When setting options via HTML attributes, remember to enable the validator by setting data-fv-hex="true".
The message option can be updated on the fly via the updateMessage() method

Related validators

The following validators might be useful to you: