Copy link to clipboard
Copied
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 ?
Copy link to clipboard
Copied
Yes, it's possible with a JavaScript.
Copy link to clipboard
Copied
You'll need to write a calculation script for the text fields that get a value based on several dropdowns.
See these articles:
https://www.pdfscripting.com/public/Calculating-field-values-and-more.cfm
https://www.pdfscripting.com/public/List-Field-Usage-and-Handling.cfm
https://www.pdfscripting.com/public/How-to-write-an-If-statement.cfm