I found this code on youtube and it's really cool however at the moment i can only get it to work with the 'email address' validation.
What it does is, if you enter a correct email format a green tick image displays and if you enter an incorrect email address format it displays an X for incorrect.
Also if the field is blank, by default it displays the X image.
What I would like to do is the same sort of thing but for a few more fields in my contact form. Obviously these fields have different requirements, than having to enter a valid email format.
For example in the 'phone number' field I would like it to only accept numbers and maybe () and + symbols.
//Just in case someone enters a country code number format +44 (0) 207 for example.
Many thanks to anyone who can help me out,