Skip to main content
Participant
May 20, 2024
Question

Populate text based on multiple dropdown

  • May 20, 2024
  • 2 replies
  • 557 views

I am creating a PDF document that dynamically displays specific text based on selections from multiple dropdown menus.

 

The first dropdown has options A and B. The second dropdown has options C and D. The third dropdown has options 1, 2, 3, 4, and 5.

 

This would then populate text boxes with specific information based off of the drop down. Such as selecting options A, C and ,3 will give different information to A D and 5. 

 

I also was B from the first box to not give other options just populate the box. 

 

I can get drop down 1 to change the drop down list in 2 depending what is selected? 

But not able to get the three in sync.

 

Then once they have all been selected it populate the text boxes with the relevant info. 

 

I can also get one drop down to sync with the text box but not with all 3 options. 

 

Is this possible ?

 

This topic has been closed for replies.

2 replies

Thom Parker
Community Expert
Community Expert
May 20, 2024
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Inspiring
May 20, 2024

Yes, it's possible with a JavaScript.