Copy link to clipboard
Copied
Hi.
I know how to populate several fields from data stored in an attachment when an user select an item in a dropdown list.
Now I need to populate several fields from an attchment but user must not choose in a list, he must enter his ID in a text field, and other fields must be populated accordingly to the input.
Is it possible?
How?
Copy link to clipboard
Copied
Is the ID that the user will enter included in data that could be stored in an attachment or hardcoded in a JavaScript?
Copy link to clipboard
Copied
User's IDs are stored in the CSV file, with all data. Each set of data is on a row (about 15000).
Copy link to clipboard
Copied
I've developed this tool that allows you to set it up: Custom-made Adobe Scripts: Acrobat -- Populate Fields From Dropdown
I was built for a dropdown, but can be easily adjusted to work using a text field, instead, as the logic of looking up the value in the attached file and then populating the rest of the fields is the same.
Copy link to clipboard
Copied
Thank you, but I know how to populate fields.
I just need to know how to look for a string into an attachment.
Copy link to clipboard
Copied
Use the getDataObjectContents method.
Copy link to clipboard
Copied
Thank you.
Fortunately my client has canceled his request.
I could not figure how to match the input data with the one in the table.
😉