..
LiveValidation is a simple JavaScript library that allows you to perform client-side validation of data entered by users within the modules (forms).

The library is equipped with a set of methods that solve the most frequent series of validation, but you can also create customized validation by simply combining the tools offered by the library.
LiveValidation is available in two versions:
To include the library will be sufficient to include it in our pages in HTML using JavaScript outside of the usual reminder:
<script type="text/javascript" src="livevalidation_standalone.js"> </ script>Before seeing the examples and their respective code, it is important to remember that the validation is carried out by LiveValidation it is a client-side validation, so it replaces the server-side validation, which must always be present in order to avoid inconsistent or incorrect data !
In general, the validation of a field is done by creating an object LiveValidation, who does nothing but select the field to be validated by ID assigned to it:
var element = new LiveValidation ("elemento_da_validare");
You can also pass other parameters in the construction of the object as, for example, a message that shows the correct validation of the object or the wait time (in milliseconds) to start the validation (after the user has stopped typing the text).
Let's look at an example:
var element = new LiveValidation ("elemento_da_validare", {
validMessage: "Compiled successfully!"
wait: 500
});
Below a picture with two examples of validation messages:

| |
CSS (Course)
Web Design and Accessibility according to W3C CSS and XHTML. Starting from 29 €. |
| |
HTML (Course)
The markup language for the Web from 29 €. |
| |
Javascript (Course)
Complete guide to client-side scripting. From 39 €. |