id validator

Validate a Irish identification number

Basic Example

You can click on sample from the following table to see if it's a valid or invalid Irish id.

Sample ID Is it valid?
6433435F
6433435FT
6433435FW
6433435OA
6433435IH
1234567TW
1234567FA
6433435E
6433435VH

Module Example

The following snippet shows how to use the id validator with JavaScript module:


// You might need to change the importing path
import ieId from 'formvalidation/validators/id/ieId';

const res1 = ieId().validate('6433435IH');
// res1.valid === true

const res2 = ieId().validate('6433435E');
// res2.valid === false

Related validators

The following validators are similar to this one and might be useful to you.

Name Description
id Validate an identification number
vat Validate VAT number