check for empty fields in the main form