id validator

Validate a Chilean identification number

Basic Example

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

Sample ID Is it valid?
76086428-5
22060449-7
12531909-2
12937893-K
12937893-k
76080439-5
9260865-3
76079469-2
76436260-4
10601212-6

Module Example

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


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

const res1 = clId().validate('76086428-5');
// res1.valid === true

const res2 = clId().validate('9260865-3');
// 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