Yes I used this script
xfa.host.setFocus("TextField2"); in my full event. However I was able to resolve the issue by using newText and limiting the length to 50.
Now I come across a different issue i.e., it doesnt work if I enter all uppercase letters in the TextField1.
Reason being the characters count differ for uppercase and lowercase. Not sure how to handle this.
Also, I expect full event can be a solution in this case, however If I use full event and change the focus to new textfield the last key stroke gets lost.
Any help on this would be highly appreciated..