if (empty($required_field)) {
//dont process form, handle error
}
then prior to that define the vars to avoid errors
$required_field = (isset($_POST['required_field'])) ? isset($_POST['required_field']) : '';
then in your form add some value='' attributes so that once the person forgets one field, and the page reloads with a can't-process error, their other entered values are pre-entered