if (@InvalidFields){ # You have some empty fields, so do something about them }