check that the form is filled out