Replies: 1 comment
-
Ok think I figured it out. I poked (more) around the source and found |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a PDF that I'm trying to fill that is not my PDF. I dumped out all the names using
form.acroForm.getAllFields()
and found that some fields return "undefined" and several fields share the same name. I've only been able to update the field value usingform.getTextField('some name').setText()
. But how do I set the field value for the fields that have an undefined or ambiguous name?Is there a way to set the value based on the ID?
This was what I dumped out of the acroForm field list. The ID is from
allfields[x][1].objectNumber
, the name is from the dict map containing the value "/TU" which I have no idea if that is correct but seems to work.Code..
Beta Was this translation helpful? Give feedback.
All reactions