The onSubmit hook now will only be call when the form ready for submit. And it will effect the onsubmit event when returning false.