Valadation is the act of making sure that the data being entered into a webform is correct. Validation can be done on the Client side with Javascript or the server side using something like PhP
Client Side
Server Side
There are pros and cons for both types of client validation