You can blame most forms’ poor etiquette on the way they’re built.Web forms that use a basic submit-and-refresh model of interactivity don’t respond until you hit the “submit” button—but it doesn’t have to be this way.Form validation normally used to occur at the server, after the client had entered all the necessary data and then pressed the Submit button.If the data entered by a client was incorrect or was simply missing, the server would have to send all the data back to the client and request that the form be resubmitted with correct information.
Java Script provides a way to validate form's data on the client's computer before sending it to the web server. First let us see how to do a basic form validation.
Because the input type obscures the text typed, you should let the user confirm that they haven't made a mistake.
The simplest way to do this is to have the password entered twice, and then check that they are identical.
Real-time inline validation can help people complete web forms more quickly and with less effort, fewer errors, and (surprise! Inline validation gives people several types of real-time feedback: It can confirm an appropriate answer, suggest valid answers, and provide regular updates to help people stay within necessary limits.
These bits of feedback can be presented before, during and / or after users provide answers.
You must keep this link live or your site will be automatically banned.