Thanks, I'll have a look at that! I've been told to avoid the Javascript way as it can be turned off and my form would lose its error checking hence the request.
I currently have a HTML form posting to a PHP script, but have been told this is not too good as I am not stopping the things being posted before they reach the PHP script?
Is it safe/secure enough to just have the whole PHP script on the same page as the HTML form or should this be avoided?