Validators / digits

Return true if the value contains only digits.

Options

Option HTML attribute Type Description
message data-bv-digits-message String The error message

The following validators might be useful to you: