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

How to make an Option multiple lines

New Here ,
Jan 31, 2020 Jan 31, 2020

Good Afternoon-Does anyone have any idea how to add an Option for a drop down, and have it be multiple lines?    I'm creating a form letter that will be used by several people and am trying to work out the signature line information.  It needs to have info below in that format.    I toyed with doing if/else statements for each piece of info,  but I would imagine there has to be a better/easier way.   Thanks in advance!

 

Name

NMLS #

Phone Number/Extension

email address

TOPICS
PDF forms
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
Community Expert ,
Jan 31, 2020 Jan 31, 2020
LATEST

Dropdown entries can be multi-line, but this can only be done from a script. 

Run this code in the Console window.

 

this.getField("DropDownName").setItems(["First\nEntry","Second\nEntry"]);

 

But what exactly are you trying to do? If this is about filling in multiple fields from a single dropdown selection, then there is a better way. Read this:

https://acrobatusers.com/tutorials/change_another_field/

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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