Validate - Disable enter key submit but still run validation

Validate - Disable enter key submit but still run validation

Having trouble getting the benefits of the validate function while disabling the default submit (i.e. enter key). I have a complex form with lots of text fields, some required, some not. When the required fields and all other validate rules have passed, hitting enter in any text field submits the form, which I do not want. I want to restrict validating and submission to clicking the Save button.

Setting onsubmit to false prevents the validation from running at all and it's not clear from the docs how to use this value to achieve validation plus no-submit-on-enter.

Thanks!