Dropdown with duplicate values (different export values)

Explorer ,
Sep 08, 2017

Copy link to clipboard

Copied

Hello!

I am wondering if there is any way to create a dropdown list with duplicate values in it. I have a list of numbers which when selected populate a description in a separate field. I have one number that needs to appear twice in the list, and populate one of two descriptions based on the export value.

Any ideas?

Thank you!

TOPICS
Acrobat SDK and JavaScript

Views

159

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

Dropdown with duplicate values (different export values)

Explorer ,
Sep 08, 2017

Copy link to clipboard

Copied

Hello!

I am wondering if there is any way to create a dropdown list with duplicate values in it. I have a list of numbers which when selected populate a description in a separate field. I have one number that needs to appear twice in the list, and populate one of two descriptions based on the export value.

Any ideas?

Thank you!

TOPICS
Acrobat SDK and JavaScript

Views

160

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
Sep 08, 2017 0
Adobe Community Professional ,
Sep 08, 2017

Copy link to clipboard

Copied

Not possible, The value determines which option is selected. If there are t items with the same value, the first occurrence of the value is assumed. You can use the "if ... then .. else: statement or the "switch... case" statement. to determine the desired value.

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
Reply
Loading...
Sep 08, 2017 0
Adobe Community Professional ,
Sep 08, 2017

Copy link to clipboard

Copied

It is possible, but you have to set the item values and export values via JavaScript.

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
Reply
Loading...
Sep 08, 2017 0