Form submits even mandatory fields are not filled out?