Implemented form validation for presence of all fields