Using Enter Key to advance to next field

Is there a way to change the behavior of the Enter key so that it advances to the next field on a form?

There is an event handler “onEnter”
docs.dhtmlx.com/doku.php?id=dhtm … _onenter&s[]=onEnter
You can set focus to the next item manually.

Could you provide an example of this? I’m not sure how to use it or where to put the code.

Here is online sample:
dhtmlx.com/docs/products/dht … event.html