validate all onSubmit