Java class to help validate users inputs on forms. This validations are for South African standards.
To generate html java docs execute:
javadoc -d docs ./src/main/java/Validations.java
This will generate documentation in html in your project folder.
- validateTel
- validPassword
- isValidEmail
- validString
- isValidID
- getIdentitySummationRL: Uses
Luhn Algorithm
to validate if a South African ID is actually valid
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by The South African Government or any of its affiliates or subsidiaries or representatives. This is an independent and unofficial software. Use at your own risk.
This is still a working project