modifed conditions when checking form fields for blank fields or default values