meid
Validates a MEID (Mobile Equipment Identifier) used in CDMA devices.
Options
| Option | Type | Default | Description |
|---|---|---|---|
message | string | locale default | Custom error message |
Playground
Valid values
| Value | Notes |
|---|---|
"A10000009296F2" | Valid 14-char hex MEID |
Invalid values
| Value | Reason |
|---|---|
"Z10000009296F2" | Z is not a valid hex digit in MEID |
"12345" | Too short |
Notes
- Empty string (
"") always returnsvalid: true. Combine withnotEmptyto require a value. - MEID is 14 hexadecimal characters. The decimal representation is 18 digits.