Errr, Vincent is true, OnBlur and OnChange are JavaScript events. Anywhat you do, php will ever work on the SERVER side, with stuff that has yet been submitted. The trick is, you have to check the following:
- That required fields are filled in:
if(isset($HTTP_POST_VARS['email'] && ($HTTP_POST_VARS['email'] != "")) {
// Ok, it's filled in
} else {
// Field is missing 🙁
}
- Test wether or not the content is valid, which you can do with RegEx, depending on what the field should look like, it'll be different for what info you want.