Tests: Validators
| Input type | Validator name | Input element |
|---|---|---|
| Domain | domain |
|
| Email address | email |
|
| File name (Linux) | file_name_linux |
|
| File name (Windows) | file_name_windows |
|
| Hostname | hostname |
|
| IPv4 address | ipv4_address |
|
| IPv4 address range (CIDR) | ipv4_range_cidr |
|
| IPv4 address range (dashes) | ipv4_range_dashes |
|
| IPv6 address | ipv6_address |
|
| Linux network interface name | linux_interface |
|
| MAC address | mac_address |
|
| File path (Linux) | path_linux |
|
| File path (Windows) | path_windows |
|
| Port number | port_number |
|
| URL (any protocol) | url_any |
|
| URL (HTTP or HTTPS) | url_http |
|
| UUID | uuid |
Test buttons
Invalid values on page load
When you click this button and reload the page, you should see the value reset to the default and a warning message in the console: