South African ID
Component ID
1861084
Component name
South African ID
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
281
Component created
Component changed
Component body
This module provides a text field to enter a South African ID number that will get validated.
The field is provided through the field API, so i can be used on content types as a normal textfield is used.
The field has a setting to specify that it must validate the ID, otherwise it will throw an error on the form.
There is also a API function southafrican_id_validate_id($id) that other modules can use to validate a ID number. The function returns TRUE or FALSE to specify validity of number.
This module is only for Drupal 7
TODO:
- Extract date of birth from number
- Extract gender from number
- Extract citizen type from number
