function validateForm(form) { //This is the name of the function
  if (form.realname.value == "") { //This checks to make sure the field is not empty
   alert("Your name is required."); //Informs user of empty field
   form.realname.focus( ); //This focuses the cursor on the empty field
   return false; //This prevents the form from being submitted
   }
  if (form.email.value == "") { //This checks to make sure the field is not empty
   alert("Your email is required."); //Informs user of empty field
   form.email.focus( ); //This focuses the cursor on the empty field
   return false; //This prevents the form from being submitted
   }
  if (form.phone.value == "") { //This checks to make sure the field is not empty
   alert("Your phone number is required."); //Informs user of empty field
   form.phone.focus( ); //This focuses the cursor on the empty field
   return false; //This prevents the form from being submitted
   }


}

