/validator

Java class to help validate users inputs on forms. Validations for South African standards.

Primary LanguageJava

Validations

Introduction

Java class to help validate users inputs on forms. This validations are for South African standards.

Instructions

To generate html java docs execute: javadoc -d docs ./src/main/java/Validations.java This will generate documentation in html in your project folder.

Methods included

  • validateTel
  • validPassword
  • isValidEmail
  • validString
  • isValidID

Helper Methods

  • getIdentitySummationRL: Uses Luhn Algorithm to validate if a South African ID is actually valid

Legal

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.

Contributions are welcome :)

This is still a working project