added form validation to new submission