Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Populate dropdown

Community Beginner ,
Jun 23, 2021 Jun 23, 2021

Copy link to clipboard

Copied

Hi, is there script i could use on a button field to populate dropdown field with export values instead of manually entering each value?

TOPICS
How to, JavaScript

Views

254

Likes

Translate

Translate

Report

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

Adobe Community Professional , Jun 23, 2021 Jun 23, 2021
Yes in your button as Mouse UP event you can use something like this: this.getField("Dropdown").setItems([["Item1", "1"], ["Item2", "2"], ["Item3", "3"]]); where "1","2","3" are export values.

Likes

Translate

Translate
Adobe Community Professional ,
Jun 23, 2021 Jun 23, 2021

Copy link to clipboard

Copied

Yes in your button as Mouse UP event you can use something like this:
this.getField("Dropdown").setItems([["Item1", "1"], ["Item2", "2"], ["Item3", "3"]]);
where "1","2","3" are export values.

Likes

Translate

Translate

Report

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 Beginner ,
Jun 23, 2021 Jun 23, 2021

Copy link to clipboard

Copied

LATEST

Thank you so much.

Likes

Translate

Translate

Report

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