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

Suggestions in a dropdown field with custom user input enabled

New Here ,
Aug 20, 2020 Aug 20, 2020

Copy link to clipboard

Copied

Hello community,

 

I'm creating a form which concludes an dropdown field with multiple choices and custom user input enabled. How can I add autofill/autocomplete suggestions from the entry list based on the user input?

 

Example:

 

Entrylist: Test, Tree, House

User Input: Tr

Suggestion: Tree

 

Thank you in advance for your help,

regards,

Tobias

TOPICS
Acrobat SDK and JavaScript

Views

457

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 ,
Aug 20, 2020 Aug 20, 2020

Copy link to clipboard

Copied

I don't think that's possible. You can maybe filter the list of items based on the user's input, but it will be tricky to implement.
If you want to be able to "filter" the list I would recommend doing it using a separate text tool, like in this (paid-for) tool I've created that does just that: http://try67.blogspot.com/2012/11/acrobat-create-live-filtered-list.html

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
New Here ,
Aug 20, 2020 Aug 20, 2020

Copy link to clipboard

Copied

Thank you for your response. 

 

I quickly looked through the JS Api and didnt find a way to open the ComboBox-list by JavaScript (to show the filtered items list) - do you know a way for archiving that? 

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 ,
Aug 20, 2020 Aug 20, 2020

Copy link to clipboard

Copied

LATEST

That's not possible with a script. The user will have to do it manually.

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