display errors if form not properly filled out