About validating data entered from the form it will depend on the type of data whether it is a date, a string , an integer etc. You can check to see if the field is empty.
e.g
if your form is submitted using post and filed name is "Fname",
then
if($_POST['Fname'] == " ") echo "Fname field cannot be empty";
?>
Hope this helps