Validators / ip

Edit on Github

Validate an IP address. Support both IPv4 and IPv6.

Option Equivalent HTML attribute Type Description
message data-bv-ip-message String The error message
ipv4 data-bv-ip-ipv4 Boolean Enable IPv4 validator, default to true
ipv6 data-bv-ip-ipv6 Boolean Enable IPv6 validator, default to true

Comments

If you want to report a bug, please submit the issue on Github. Do NOT post the issue here.

For a general question or feedback, use the form below.