I have created 5 text boxes labelled: Acct.0, Acct.1, Acct.2, Acct.3 & Acct.4. I have given each box a maximum allowance of 1 character. I would like the form to move automatically from one text box to the next without having to hit the tab button manually. I know you need to use javascript but unfortunatly, I don't how to script it. Could you please help me with the scripting?
Thank You
Either way the basic idea is to place a script in the change event of the field that tests the length of the input and changes focus to either the previous or next field depending on the direction of the change. In Acrobat JavaScript the code for changing focus would be something like this.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script