Added validations and error messages for submitting a blank form