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

Suggestions in a dropdown field with custom user input enabled

New Here ,
Aug 20, 2020 Aug 20, 2020

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
795
Translate
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

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

Translate
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

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? 

Translate
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
LATEST

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

Translate
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