I have an existing php contact form which incorporates php validation (required name with only characters, valid email address format, and minimum message length) and re-captcha.
I would like to add some "real time" validation to the fields on my form (there are 3 fields - name, email and message) before the "Submit" button is pressed. For example when the user tabs from one text box to the next but hasn't filled in the required information.
If so, which should I be looking into and are there any basic examples of form validation?
I want to keep my pup validation as I'm aware that php is client-side but still needed as people can turn Java off in their web browsers.
Any tips and pointers will be very much appreciated!