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

better control of text box

buckDharma
Registered: May 28 2010
Posts: 23
Answered

Hello All

I am not sure how to get around this problem and I dont want to ask the PDF creator to change all 18 to make this happen for me

I need to place a text box over 3 lines - lines to tell the user to type there.. the top line is shorter than the bottom two becuase of the sentence asking for info e.g.

in past 2 years _________
_____________________
_____________________

I need to be able to have a continuing textbox for the user to type on those 3 lines without tabbing through

any ideas?

R

My Product Information:
Acrobat Standard 9.3.1, Macintosh
try67
Expert
Registered: Oct 30 2008
Posts: 2398
You will need to create 3 separate boxes with a script that looks at the length of the text entered into them, and then automatically sets the focus to the next box when that limit is reached.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

smit462
Registered: May 20 2006
Posts: 20
I've had to deal with this problem before and still don't know a simple answer.

Because I have some users who electronically fill and some who hand fill, I have to keep the lines in my .PDF forms. The best solution I've come up with to date is to create a couple of hidden fields with white backgrounds behind the fillable field to cover the lines when focus is on the fillable field (Action tab/on Focus/Show/hide field). Then I hide the fields again with a show/hide action in the form 'reset form' button. Basically the top line gets dropped when a user decides to fill electronically.

If you try to script an 'event.target.charLimit; getField(cNext).setFocus();' jump from a field in the top line down to the next, it'll make it really difficult for users to go back and edit their entries.

STEVE MITTEL
Senior Forms Designer
Texas Comptroller of Public Accounts

buckDharma
Registered: May 28 2010
Posts: 23
thanks all - for looking at my post - we decided to go without the lines so I simply put in a textbox for them to fill it in