Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Drop down menu linked to a text box?

New Here ,
Jun 06, 2018 Jun 06, 2018

All,

I have a Fillable PDF that I created from an Excel file, and that Excel file has drop down menus in it. The descriptions in the drop down menu are long, and when pasted into the PDF drop down menu, it will only show a part of the text. After reading hours of other forums, I know that I have a few choices on how to make this happen. One is to use "\n" script and the other is to use Java script to write a code that will connect the drop down menu to a text box. However, I have no idea how to write either of those codes needed to complete those, nor do I have a good sense of where they need to go. Any help would be great! Thanks!

TOPICS
Acrobat SDK and JavaScript , Windows
636
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2018 Jun 06, 2018

What exactly do you want to achieve? Including a line-break in the items in a dropdown is possible with a script, but it's an undocumented feature which is a bit buggy, so I would recommend avoiding using it.

Do you want to populate a text field based on the selection in the drop-down?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 06, 2018 Jun 06, 2018

In all honesty I just want my drop down menu to be able to show the entire description rather than populate a text field based on the drop down, but if that is not possible, then yes.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2018 Jun 06, 2018

Set the font size to Auto.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 06, 2018 Jun 06, 2018

Well that did work, but however it is too small to read. I wish it could just be multi-lined. Any other ideas?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2018 Jun 06, 2018
LATEST

Make the field bigger. That's the only other option.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines