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

how do I add multi line choice in a dropdown box

New Here ,
Feb 04, 2016 Feb 04, 2016

I just started with Acrobat DC. All is simple, till it is not. I am attempting to add items to my drop down box. That is easy. I am trying to make them multi line choices. This is for an inspection report and the choice(s) will not fit on one line. So after making the choice, one is unable to read the answer. Thank you- Tim

TOPICS
Acrobat SDK and JavaScript , Windows
1.2K
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

correct answers 1 Correct answer

Community Expert , Feb 04, 2016 Feb 04, 2016

It's possible to do it, but only with a script and it's kind of buggy. In other words, not really a good idea.

Translate
Community Expert ,
Feb 04, 2016 Feb 04, 2016

It's possible to do it, but only with a script and it's kind of buggy. In other words, not really a good idea.

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 ,
Feb 04, 2016 Feb 04, 2016

Thank you, any chance that a list box is any different? Just trying to figure out multiple choice answers that inspector can choose from w/o all the typing. Not our strong suit

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 ,
Feb 04, 2016 Feb 04, 2016

It's pretty much the same.

If you want to try it for yourself this is the basic code you can use for that:

this.getField("List Box1").setItems(["Line1\rLine2", "Line3", "Line4\rLine5"]);

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 ,
Feb 04, 2016 Feb 04, 2016
LATEST

I am not afraid to try it. I just do not know where to put it? If you can point me in the direction, I believe I can follow them.? Not a Geek but learning!

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