Add validation using form's submit