How to make an Option multiple lines
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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/
Use the Acrobat JavaScript Reference early and often

