2
Community Beginner
,
/t5/acrobat-discussions/fill-javascript-dropdown-list/td-p/14090336
Sep 16, 2023
Sep 16, 2023
Copy link to clipboard
Copied
Good morning,
Can you help me, I'm looking to fill out a drop-down list in javascript, is this possible?
THANKS
Sincerely
TOPICS
JavaScript
,
PDF
,
PDF forms
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 ACCEPTED SOLUTION
Community Expert
,
/t5/acrobat-discussions/fill-javascript-dropdown-list/m-p/14090449#M429261
Sep 16, 2023
Sep 16, 2023
Copy link to clipboard
Copied
Use drop1.setItems(arrayD);
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Romain32217929cdg2
AUTHOR
Community Beginner
,
/t5/acrobat-discussions/fill-javascript-dropdown-list/m-p/14090410#M429259
Sep 16, 2023
Sep 16, 2023
Copy link to clipboard
Copied
var drop1 = this.getField("drop1");
var arrayD = ["orang","route","vert","violet"];
for(var i = 0; i < arrayD.length; i++){drop1.setItems(arrayD[i])};
not work !
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/acrobat-discussions/fill-javascript-dropdown-list/m-p/14090449#M429261
Sep 16, 2023
Sep 16, 2023
Copy link to clipboard
Copied
Use drop1.setItems(arrayD);
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Romain32217929cdg2
AUTHOR
Community Beginner
,
LATEST
/t5/acrobat-discussions/fill-javascript-dropdown-list/m-p/14091078#M429276
Sep 17, 2023
Sep 17, 2023
Copy link to clipboard
Copied
Thanx you, good job !
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

