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

Wrap text in a text field and autopopulate

Vickinovice
Registered: Jul 21 2011
Posts: 2

Hi
 
I have no Javascript experience and am using Adobe Acrobat 9 Standard to create a simple form to display specific details about an activity booking (there are over 8 activities to choose between, all with different details i.e. what to bring, where to meet etc.).
 
I have two questions:
 
1) How can I wrap a text field so the contents wraps onto multiple lines instead of one continuous one?
 
2) Is there a simple way to select an activity in one field and for another field to automatically populate according the first field's selection?
- I have read multiple postings and can't find how to do this. I also can't even locate where I should input Javascript even if I knew how to.
 
Would appreciate some wise words!
 
Thanks in advance.

My Product Information:
Acrobat Standard 9.0, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi Vickinovice,

1) Select the text field, Right Click and choose Properties. Under the Options tab check the box "Multi-Line"
In addition, you need to either make the text field large enough to fit all the text entered, or you also need to also check the option "scroll long text" so that if more text is entered than can fit in the size of the text box a scroll bar will appear so more text can be entered.

2) Not sure about simple, but yes you can populate other fields based on a selection in a drop-down list. In the Learning Center here there is a tutorial "Programming List and Combo fields in Acrobat and LiveCycle forms - Part 1" (http://acrobatusers.com/tutorials/2007/js_list_combo_livecycle/) that includes an AcroForm with code to download (AcroForm is a PDF form created all in Acrobat, as opposed to a LiveCycle Designer PDF form created in LiveCycle Designer).

There is also a good tutorial "Where does JavaScript Live in Acrobat?" (http://acrobatusers.com/tutorials/2006/where_js_goes ) in the Learning Center. Lots of other great tutorials on a wide variety of Acrobat scripting tasks can be found in the Learning Center too.

Hope this helps,

Dimitri
WindJack Solutions
www.pdfscripting.com
www.windjack.com

Vickinovice
Registered: Jul 21 2011
Posts: 2
Thanks for this Dimitri! Been a great help!

My version of Adobe doesn't show the option for 'multi-line'- any other options?