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

Multiline drop-down

garath
Registered: Mar 24 2009
Posts: 49

I have a following problem. I got a drop-down with really long elements (up to 256 chars). Any idea how I can present "full" selected text in drop-down.
Thanks for any ideas.

My Product Information:
LiveCycle Designer
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The dropdown (combobox) element is not that flexible. Can't be done. You might want to consider another strategy, for example, using shorter descriptive names that show the full text in anther field after the user has made a selection.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

AngeloJ
Registered: Aug 20 2010
Posts: 1
Actually, it can be done. Just view your list in XML source view, and then enter a hard return at the point where you would like the line to break. If your code is indented, you will need to remove the leading spaces. XML doesn't necessarily ignore white space in a PDF setting. Oh yeah, make the box big enough to handle two lines, too.