Skip to main content
Participant
June 22, 2023
Question

DOC-level dropdown unction to be called from many fields.

  • June 22, 2023
  • 2 replies
  • 456 views

In a single pdf having >100 fields with the same dropdowns, would it work to put the dropdown in a DOC-level script and  call it from each field? The choices are the same for each field. An example would be very helpful.

This topic has been closed for replies.

2 replies

Nesa Nurani
Community Expert
Community Expert
June 23, 2023

If you already have populated dropdowns with items, there is no reason to use scripts for such a task, on the other hand if you need to populate lots of dropdown fields with same items there are scripts for that.

Bernd Alheit
Community Expert
Community Expert
June 22, 2023

At doc-level you can define functions. At fields you can use this functions.

You can't put a dropdown in a DOC-level script 

Participant
June 23, 2023

Thanks, but can I put a dropdown inside a DOC-level function?

try67
Community Expert
Community Expert
June 23, 2023

No... Dropdowns are fields. They don't exist in any script, no matter where you place it.