...
Code Block | ||
---|---|---|
| ||
window.enterDoesTab = function(event) { event = event || window.event; if (event.keyCode == 13) { if (event.ctrlKey || event.shiftKey) return; preventEvent(event); if (event.altKey) // Alt-Enter key pressed pui.gotoPreviousElement(event.srcElement); else // Enter key pressed pui.gotoNextElement(event.srcElement); } } addEvent(pui.runtimeContainer, "keydown", enterDoesTab); |
...
Add this code to the “onsubmit” event of the same record format:
...