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

Can i make a form add more Dropdown menus as a user fill them out?

New Here ,
Jun 10, 2016 Jun 10, 2016

I want the form to be able to supply say 50 dropdown menus if the user needs it, but not show more than say 5 if the user doesnt need more. I want the form to add a dropdown menu with the same alternatives as the first one if the user fill the first one out, and so on. I understand that this is no standard function in Acrobat, but I thought that there may be a javascript for it. I use Acrobat Pro DC.

Hope you understand the question.

TOPICS
Acrobat SDK and JavaScript , Windows
263
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 ,
Jun 10, 2016 Jun 10, 2016

You can add or remove fields (although it's better to just show/hide pre-existing fields instead of creating new ones), but you can't "re-flow" the contents of the page to accommodate for these new fields, which means that when the fields are hidden you'll have a large white space on the page.

Another option is to use a Template page and spawn it when new fields are required.

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
LEGEND ,
Jun 10, 2016 Jun 10, 2016
LATEST

You can use JavaScript to dynamically clear and set the values in the drop down.

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