Is there a way to go to the next field when the user reaches the limit of the length of the field they are inputting? For instance, I have a "text" field, I set the limit to 3 char's. The user types 3 characters, can I make the curser jump to the next field as soon as they type the 3rd character ?
Thanks in advance for any help.
Rod
Using: LiveCycle Designer
xfa.host.setFocus("");Otherwise for your idea you can count the typed characters, but there's the problem that it also count the backspace key if you will correct your value
But you can do it when you define a global value in the initialize event (here gloTest) and put the following code to the cange event:
gloTest++;
if (gloTest == 3)
{
xfa.host.setFocus("");
gloTest = 0;
}
I don't know if there is any way to watch for the backspace event. If there is one you could decrease gloTest if the backspace was hit.
That was the two ways I know.
I hope they could help you.
Greets Daniel