Originally published on 2017-12-06
When there is a need to flow text to next filed,
Adjust field properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Document-level function | |
function nextTab(fieldName) | |
{ | |
if (event.willCommit || event.fieldFull) this.getField(fieldName).setFocus(); | |
} | |
//Keystroke script of a text field: | |
// Autotab to the "text2" field | |
nextTab("text2"); |