Validation in JavaScript

I am always confused anytime i hear form authentication and validation. The terms makes me think i have some extra magic that have to be done before my form can be validated when i started programming. Well it's a programming term don't get confused

In this article you will get the understanding in simple term

What is validation

Validation simply means imputing correct data format in a form before processing or sending it to the server. Simple and clear.

check the examples of this email format

   teju - *invalid email*
   teju@email.com - *valid email*
   teju@email@gmail.com - *invalid email*

To make sure a user send the correct email format, it is important to validate the email so that user can be sure correct format is been sent.

Validation is very important in form processing. it helps the user to know he/she have inputted a wrong data or not.

Example using email validation

With this the user is sure he/she input the correct email format before the data is sent to the server