These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Tabbing to the wrong field

ReneG
Registered: Jun 24 2011
Posts: 4
Answered

I've got a pdf that the scripts need to be fixed. I almost does what I want it to do but not quite.
 
It has a left side (fields A and B) and a right side (fields C and D).
 
When the customer fills out A and B, the data gets copied automatically to C and D. (the date filled out are account numbers.) There is an auto tab between A and B.
 
When the customer leaves A and B blank and fills out C and D, the date doesn't get copied to A and B. But it has to have an auto tab between C and D.
 
The problem is when the customer leaves A and B blank, he fills out C and the auto tab goes back to B instead of D. That's because I had to have an auto tab from C to B earlier when the customer filled out A, the data got copied to C and the auto tab went back to B.
 
Acrobat Pro 8.1.3
 
Is that clear?
 
I've uploaded the pdf here: http://www.mediafire.com/?2x1x7gdoqyyj2gy
 
Thanks.

ReneG

My Product Information:
Acrobat Pro 8.1.3, Macintosh
Kelly McCathran
Registered: Feb 9 2010
Posts: 38
ReneG,

This may seem like a simple fix, but why use Auto Tabs at all? Most users can hit tab themselves or click on the next field.

As a fix, you may have to script the OnFocus or OnBlur using an if/else statement, so that when A is filled out and C is populated, it doesn't go to the next logical field (D), instead it goes back to B.

Kelly McCathran
Adobe Certified Instructor
Adobe User Group Manager (http://creativesuitelovers.com)
Certified Technical Trainer+

ReneG
Registered: Jun 24 2011
Posts: 4
Thanks Kelly.

I'm not very familiar with scripts, I wonder if you could tell me what it should be and in which field to put it.

Thanks.

ReneG

ershaw
Registered: Jul 12 2011
Posts: 6
I may be way off. I'm new to the form making, but I like her suggestion of turning the auto tab off and just leaving the auto fill part on and people can tab over themselves. I personally do not like the auto tab because I already hit tab and then I am 2 fields away instead of the next one I wanted.

Hope that makes sense and helps!

ernie

Kelly McCathran
Registered: Feb 9 2010
Posts: 38
Accepted Answer
Rene,

I agree with Ernie. The auto tab makes me a bit bothered on forms. I'm sorry I haven't had time to write the script for you. I do have some links that will help you write it, but I've simply been in class too much the last few weeks to dedicate the time.

Kelly McCathran
Adobe Certified Instructor
Adobe User Group Manager (http://creativesuitelovers.com)
Certified Technical Trainer+

ReneG
Registered: Jun 24 2011
Posts: 4
Thanks Ernie and Kelly.

I've decided to convince the client that the auto tabs were creating a problem and that in the end they were not that necessary. They'll go with that.

Thanks a lot for your answers.

ReneG

KellyMcC
Acrobat 9ExpertTeam
Registered: Jul 11 2011
Posts: 389
Happy to hear that Rene. Good luck :)

Kelly McCathran
Adobe Community Expert
Certified Technical Trainer+