Hi Janice,
Yes, you can take control of the Submit behavior by code by using OnSubmitRequest. In there you can control the Submit behavior based on your logic, status of the form, etc.
As an alternative you can bypass entirely the built-in Submit feature and build your own button with your own code.
Hope that it helps.
Regards,
Franck Dauché