Added entire form validation check before submission