Submit form on Enter press

Hello,
it is possible to make with Webix regular Submit button, with default behaviour to submit form on Enter press?

Hello,

You can set hotkey:“enter” for a button to call its “on click” handler on enter key press:

http://docs.webix.com/samples/13_form/02_api/12_hotkey.html

The problem with this hardcoded hotkey: 'enter' approach is that you can tab to the Cancel button and press Enter on it. That should cancel the form, but that sample will say “Login button clicked!”, which is incorrect.

So is it possible to simply specify the default/submit button of a form, just like in good old HTML? This is a matter of accessibility, which Webix takes pride in.

For me pressing Enter anywhere on the page is submitting all forms with hotkey: “enter”.

@cody: another good point.

@Webix team: any plans for a correct solution?