This example demonstrates that script can be developed to change the focus of the current field based on events. While this can be achieved using fairly straightforward script, it is probably not the best approach. This is because the user may not be aware that the focus has changed, whilst in the process of inputting data. This may reduce the quality of the user’s experience and lead to re-entry of data and frustration.
In relation to changing focus, we would recommend using the automatic tab order in LiveCycle Designer. You can set up a custom tab order, but this can be troublesome during the development of the form. See an example here.