Replies: 1 comment 2 replies
-
NM stores an id which is a key to look for objects. It is most of time (but not here) filled with a GUID |
Beta Was this translation helpful? Give feedback.
-
NM stores an id which is a key to look for objects. It is most of time (but not here) filled with a GUID |
Beta Was this translation helpful? Give feedback.
-
pdf.pdf
Having difficulties allowing checkbox / radiobox toggling with the above file - specifically:
On page 9, there are 4 boxes that are unlabeled. In the above PDF, that is represented as
(There are more per page but this is the simple example)
As noted in a pdf editor, you'll see the 2 checkboxes under these questions are all interactive and toggleable.
and when running
The field does return as
However in,
The conditional will never be met but
will hit the condition. The issue with above though is it doesn't reflect the radio button selection in the PDF at all.
Further, you will find that
reader.get_form_text_fields()
does not contain the above field key at all (subset or full-qualified name)I'm starting to get lost as
I'm not quite sure the top down structure of the pdf metadata or how the data structure strings together ->
a) is this a reference issue?
b) is there something programmatic in the background that is not purely driven by these datastructures?
When I check what the field content looks like when I manually select the values in the PDF - the content looks like
whereas the original would be
Note: the pdf ids in Indirect objects are different but when I did a
.get_object()
on those instances, it does return the same values underlyingly - it's just a new id per run when doing fixes.Another point of context is that these radioboxes / checkboxes are unique in this structure where they have no
/T
during the annotation iteration. Additionally, the output ofget_form_text_fields()
is which shows most of the fields function as expected.Some of the above are checkboxes where
1
has been confirmed to work without issue for validating truth. It seems like this is likely some phenomena with the grouping structure.Would greatly appreciate any help!
Beta Was this translation helpful? Give feedback.
All reactions