Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-12-20 12:15:20

mrchinhnguyen
Member
Registered: 2007-12-19
Posts: 3

Text Overflow Or Auto Tabbing Capable?

Does anyone know if a text field can be linked together like for text overflow or auto tabbing?  If so could you please let me know how to javascript should be written.  Thank you!


My Product Information:
Acrobat Pro 8.1 / Macintosh

Offline

 

#2 2007-12-20 14:38:47

thomp
Member

Registered: 2007-04-23
Posts: 755

Re: Text Overflow Or Auto Tabbing Capable?

In AcroForms there is a Event JavaScript property for detecting a full field.  This is only for text fields that do not scroll thier contents and is only valid on the keystroke event.  The keystroke script would look something like this.

if(event.fieldFull)
   this.getField("NextField").setFocus();

It gets more complex if you want to handle characters in the next field or backspacing.

Offline

 

#3 2007-12-20 16:41:32

mrchinhnguyen
Member
Registered: 2007-12-19
Posts: 3

Re: Text Overflow Or Auto Tabbing Capable?

Wow. Thanks! That actually worked, been working on this for a week now and wasn't getting any results with the scripting I was using.
Hate to ask, but I don't know much about javascript, could you show me the scripting for the more complex actions like backspacing.  Or how to obtain the information I need, like is there a bible with all the scripting capabilities of an Acrobat Form?
I viewed a bunch of other websites and asked 2 web designers I know, but didn't get any results, it be nice to figure it out on my own.  Thanks again!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in