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

Possible? Expanding dropdown menu view so more content is visible?

Community Beginner ,
Mar 01, 2023 Mar 01, 2023

Copy link to clipboard

Copied

Hi guys,
I am struggling with dropdowns. When I expand them, they only show 4 items and also they're not scrollable, which is extremely annoying and not user-friendly. Is there a way to fix that?

TOPICS
Acrobat SDK and JavaScript

Views

829

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 Expert ,
Mar 01, 2023 Mar 01, 2023

Copy link to clipboard

Copied

Dropdowns are scrollable.

Votes

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 Expert ,
Mar 01, 2023 Mar 01, 2023

Copy link to clipboard

Copied

A drop-down should show something like 8 items in the list, and should be scrollable. Are you sure this is a drop-down field? Can you send a screenshot (preferably full-screen) of what you're seeing?

Votes

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 ,
Mar 01, 2023 Mar 01, 2023

Copy link to clipboard

Copied

Is it possible to modify the look & behaviour? Yes, it is a dropdown list. Unfortunately I can't share the whole document, but here's what every dropdown on the PDF looks like. Thanks for your help (again)!

Bildschirmfoto 2023-03-01 um 22.25.59.png

Votes

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 ,
Mar 01, 2023 Mar 01, 2023

Copy link to clipboard

Copied

Oh and to specify: I can scroll it, but only by clicking on the arrows, not with the mouse...

Votes

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 Expert ,
Mar 01, 2023 Mar 01, 2023

Copy link to clipboard

Copied

Yes, that's how it works. And no, it can't be changed.

Votes

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 Expert ,
Mar 01, 2023 Mar 01, 2023

Copy link to clipboard

Copied

Are you on a Mac?  If so, then there is a known bug with dropdowns on the Mac, which is that limited entries are shown. A couple of people on this forum have reported only seeing one dropdown entry. 

 

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

Votes

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 ,
Mar 01, 2023 Mar 01, 2023

Copy link to clipboard

Copied

Yes, I'm on a Mac, but I had it tested by a friend on Windows and he saw the same.

Votes

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 Expert ,
Mar 02, 2023 Mar 02, 2023

Copy link to clipboard

Copied

Votes

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 Expert ,
Mar 02, 2023 Mar 02, 2023

Copy link to clipboard

Copied

LATEST

This has its own issues, though. For example:

- The list can't be scrolled with the mouse.

- You can't jump to an item by pressing the first letter in its name.

- The selected value is not saved anywhere, unless you copy it in your script to a separate field.

Votes

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