Validate function

complete validate function that checks if all required fields contain
data.  next i will complete a data type validator fo the form.