Validating form fields with ajax
The text will fade in when the input gets focus on and fade out when the input looses focus.
The container for the help text will have the class By default each input will become validated immediately when the input looses focus.
Here you can read more about styling of the form and error dialogs.
Modifying the server request The parameter containing the input value, sent to the server, will by default have the same name as the input.
You can however set your own parameter name by using the attribute By using the module sanitize you will be able to declare sanitation functions that will be triggered when inputs looses focus.
This is achieved by grouping together validation functions in "modules", making it possible to load only those functions that's needed to validate a particular form.
This plugin is available through cdnjs, npm, bower and github.
Search for validating form fields with ajax:
These pages will show how to process PHP forms with security in mind.