Wednesday, February 8, 2012

Java GUI: Guide to Data Validation

What is Data Validation?
Data Validation is the process of ensuring that a program operates on clean, correct and useful data. It uses routines, often called "validation rules" or "check routines", that check for correctness, meaningfulness, and security of data that are input to the system.
Example - A name text field should not allow user to enter numbers or characters such as '+','=',''&', etc.
                 Mobile numbers should only include digits and '+' sign.