Validation codes will return an alert message, if it finds some empty fields in the form.
If an user miss out any field, than the form will display error message.
function input Alphabet(inputtext, alert Msg) // Function that checks whether input text includes alphabetic and numeric characters.
function text Alphanumeric(inputtext, alert Msg) // Function that checks whether the input characters are restricted according to defined by user.
function true Selection(inputtext, alert Msg) // Function that checks whether an user entered valid email address or not and displays alert message on wrong email address format.It happens sometimes, when user forgets to choose option from the select feild.In that case, the form should convey about issue so that user can take the action. [a-z] : It matches characters from lowercase ‘a’ to lowercase ‘z’. If by mistake, user skips entering any detail, soon the alert message appear on the form. escaping - by -) [0-9] : It matches digital number from 0-9. That means, you could be very sure about the form, whether users have entered the details or not.