Skip to main content
Participant
Jun 22, 2023 6:37 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

Nesa Nurani
Community Expert
Community Expert
Jun 23, 2023 7:39 AM UTC

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.

Translate
Bernd Alheit
Community Expert
Community Expert
Jun 22, 2023 7:13 PM UTC

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 

Translate
Participant
Jun 23, 2023 3:14 PM UTC

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

Translate
try67
Community Expert
Community Expert
Jun 23, 2023 4:00 PM UTC

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

Translate