The purpose of a form validation script is to return a boolean value ('s to reference form fields, but that can lead to namespace conflicts and why make things more complicated than necessary.
When the form is submitted - either by hitting Enter or clicking on the Submit button - the (the 'value' of the field called 'input' belonging to the form). In a real-life situation you will most likely have more fields to check, and more complicated conditions, but the principle remains the same.
Listing 3: Validation for all letters Figure 3: Above output checks the entered data is letters or include any other char also. Two of them are using regular expression for matching and the other one is simple so not writing regex but if you want you can write a regex for this case also.
Please send corrections and suggested improvements to [email protected] As of January 2013, Opera had the most complete support for these new input elements, followed closely by Chrome.This post collects all my notes and references on j Query Form validation library.This includes a large bunch of sample code and a complete reference guide to all the built-in validation rules in the library.This is validation to check that entered values are all letters or combination of different chars.Following script will compile the idea of validation for all letters.